diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2003-03-28 16:12:29 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2003-03-28 16:12:29 +0000 |
commit | c4aa74bb218b178aeb3003a1a820ee0f83bf8f9a (patch) | |
tree | 31274c2a3a8eb98f09fd9e6653176c1f2f6f2efa /sys/dev/pci/pciide.c | |
parent | a0371ae962154030154f9fd3ed615d8d02cc6aaf (diff) |
Improve debug output a bit
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r-- | sys/dev/pci/pciide.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 6261fb27b80..742ecc79bd3 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.117 2003/03/06 11:49:20 grange Exp $ */ +/* $OpenBSD: pciide.c,v 1.118 2003/03/28 16:12:28 grange Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -713,10 +713,8 @@ pciide_attach(parent, self, aux) sc->sc_pc = pa->pa_pc; sc->sc_tag = pa->pa_tag; -#ifdef WDCDEBUG - if (wdcdebug_pciide_mask & DEBUG_PROBE) - printf(" sc_pc %p, sc_tag %p\n", sc->sc_pc, sc->sc_tag); -#endif + WDCDEBUG_PRINT((" sc_pc=%p, sc_tag=%p, pa_class=0x%x\n", sc->sc_pc, + sc->sc_tag, pa->pa_class), DEBUG_PROBE); sc->sc_pp->chip_map(sc, pa); |