diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-11-15 10:57:02 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-11-15 10:57:02 +0000 |
commit | f2ab37208bc43b3f44f3f195219e20e4d34ad3af (patch) | |
tree | f9ceb6a3be9ffc4aeb6e3fbd3ec3d190f2b821d2 /sys | |
parent | 1f12c8d2304dc6d20100c55f1363dfc3b679755a (diff) |
Compile with AHC_DEBUG
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/aic7xxx.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/ic/aic7xxx.c b/sys/dev/ic/aic7xxx.c index 2ea3fa6c03a..ae141a4534f 100644 --- a/sys/dev/ic/aic7xxx.c +++ b/sys/dev/ic/aic7xxx.c @@ -33,7 +33,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.c,v 1.40 2000/01/07 23:08:17 gibbs Exp $ - * $OpenBSD: aic7xxx.c,v 1.33 2001/11/06 19:53:18 miod Exp $ + * $OpenBSD: aic7xxx.c,v 1.34 2001/11/15 10:57:01 ho Exp $ */ /* * A few notes on features of the driver. @@ -643,7 +643,7 @@ ahcfreescb(ahc, scb) hscb = scb->hscb; #ifdef AHC_DEBUG - if (ahc_debug & AHC_SHOWSCBALLOC) + if (ahc_debug & AHC_SHOWSCBS) printf("%s: free SCB tag %x\n", ahc_name(ahc), hscb->tag); #endif @@ -3920,10 +3920,8 @@ ahc_init(ahc) #ifdef AHC_DEBUG if (ahc_debug & AHC_SHOWMISC) - printf("NEEDSDTR == 0x%x\nNEEDWDTR == 0x%x\n" - "DISCENABLE == 0x%x\nULTRAENB == 0x%x\n", - ahc->needsdtr_orig, ahc->needwdtr_orig, - discenable, ultraenb); + printf("DISCENABLE == 0x%x\nULTRAENB == 0x%x\n", + discenable, ultraenb); #endif /* Don't have any special messages to send to targets */ @@ -4993,7 +4991,7 @@ bus_reset: sc_print_addr(active_scb->xs->sc_link); printf("BDR message in message buffer\n"); active_scb->flags |= SCB_DEVICE_RESET; - timeout_add(&active_scb->xs->stimeout, 2 * hz); + timeout_add(&active_scb->xs->stimeout, 2 * hz); unpause_sequencer(ahc); } else { int disconnected; |