diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-25 12:43:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-25 12:43:29 +0000 |
commit | 89ffcb81b10e7a12d869ad6c903e0e713368f013 (patch) | |
tree | 921b3dc5616f59aeec559d1ac2e4f233bdcb5abc /sys/dev/pci | |
parent | cd7412a1a41573204c7f2a84e4467e34e489145c (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.c | 4 |
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; |