summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-25 12:43:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-25 12:43:29 +0000
commit89ffcb81b10e7a12d869ad6c903e0e713368f013 (patch)
tree921b3dc5616f59aeec559d1ac2e4f233bdcb5abc /sys/dev/pci
parentcd7412a1a41573204c7f2a84e4467e34e489145c (diff)
Re-enable the debug messages from bus errors and tx underruns so that
we can dianose if those ever happen. ok claudio
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_vr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c
index c53c735b8fb..9d39e73b01d 100644
--- a/sys/dev/pci/if_vr.c
+++ b/sys/dev/pci/if_vr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vr.c,v 1.101 2009/11/25 12:42:28 deraadt Exp $ */
+/* $OpenBSD: if_vr.c,v 1.102 2009/11/25 12:43:28 deraadt Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1084,14 +1084,12 @@ vr_intr(void *arg)
}
if ((status & VR_ISR_BUSERR) || (status & VR_ISR_TX_UNDERRUN)) {
-#ifdef VR_DEBUG
if (status & VR_ISR_BUSERR)
printf("%s: PCI bus error\n",
sc->sc_dev.dv_xname);
if (status & VR_ISR_TX_UNDERRUN)
printf("%s: transmit underrun\n",
sc->sc_dev.dv_xname);
-#endif
vr_reset(sc);
vr_init(sc);
break;