Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci remove #if 0'ed pci_conf_print() call
details: https://anonhg.NetBSD.org/src/rev/45c67aa134b9
branches: trunk
changeset: 972560:45c67aa134b9
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat May 30 10:27:29 2020 +0000
description:
remove #if 0'ed pci_conf_print() call
diffstat:
sys/dev/pci/amdpm.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r cbe9afb8ee6d -r 45c67aa134b9 sys/dev/pci/amdpm.c
--- a/sys/dev/pci/amdpm.c Sat May 30 08:50:31 2020 +0000
+++ b/sys/dev/pci/amdpm.c Sat May 30 10:27:29 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amdpm.c,v 1.41 2020/04/30 03:40:53 riastradh Exp $ */
+/* $NetBSD: amdpm.c,v 1.42 2020/05/30 10:27:29 jdolecek Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdpm.c,v 1.41 2020/04/30 03:40:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdpm.c,v 1.42 2020/05/30 10:27:29 jdolecek Exp $");
#include "opt_amdpm.h"
@@ -118,11 +118,6 @@
sc->sc_iot = pa->pa_iot;
sc->sc_pa = pa;
-#if 0
- aprint_normal_dev(self, "");
- pci_conf_print(pa->pa_pc, pa->pa_tag, NULL);
-#endif
-
confreg = pci_conf_read(pa->pa_pc, pa->pa_tag, AMDPM_CONFREG);
/* enable pm i/o space for AMD-8111 and nForce */
if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_AMD_PBC8111_ACPI ||
Home |
Main Index |
Thread Index |
Old Index