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 #ifdef DEBUG printf, it seems to have out...
details: https://anonhg.NetBSD.org/src/rev/7f62af14161e
branches: trunk
changeset: 445877:7f62af14161e
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Nov 15 22:15:43 2018 +0000
description:
remove #ifdef DEBUG printf, it seems to have outlived it's usefulness
diffstat:
sys/dev/pci/xhci_pci.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 5b072f5c3ff0 -r 7f62af14161e sys/dev/pci/xhci_pci.c
--- a/sys/dev/pci/xhci_pci.c Thu Nov 15 20:39:18 2018 +0000
+++ b/sys/dev/pci/xhci_pci.c Thu Nov 15 22:15:43 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci_pci.c,v 1.15 2018/10/31 16:11:29 jmcneill Exp $ */
+/* $NetBSD: xhci_pci.c,v 1.16 2018/11/15 22:15:43 jdolecek Exp $ */
/* OpenBSD: xhci_pci.c,v 1.4 2014/07/12 17:38:51 yuo Exp */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci_pci.c,v 1.15 2018/10/31 16:11:29 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci_pci.c,v 1.16 2018/11/15 22:15:43 jdolecek Exp $");
#ifdef _KERNEL_OPT
#include "opt_xhci_pci.h"
@@ -139,9 +139,6 @@
/* check if memory space access is enabled */
csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
-#ifdef DEBUG
- printf("%s: csr: %08x\n", __func__, csr);
-#endif
if ((csr & PCI_COMMAND_MEM_ENABLE) == 0) {
sc->sc_ios = 0;
aprint_error_dev(self, "memory access is disabled\n");
Home |
Main Index |
Thread Index |
Old Index