diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 2004-11-18 20:33:43 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 2004-11-18 20:33:43 +0000 |
| commit | 803bbd69c4d3aad206cdd7192e92b848051fa764 (patch) | |
| tree | da36feb7840be2b33ece06bd4c336e8527cfb72f /sys/dev | |
| parent | ad32f91b6b36e68e9077a34ef14f565d1845063c (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/aic7xxx/aic7xxx.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c index 08ace3bd7ed36..c60a770ccab00 100644 --- a/sys/dev/aic7xxx/aic7xxx.c +++ b/sys/dev/aic7xxx/aic7xxx.c @@ -7837,10 +7837,12 @@ ahc_handle_target_cmd(struct ahc_softc *ahc, struct target_cmd *cmd) return (1); } else ahc->flags &= ~AHC_TQINFIFO_BLOCKED; -#if 0 - printf("Incoming command from %d for %d:%d%s\n", - initiator, target, lun, - lstate == ahc->black_hole ? "(Black Holed)" : ""); +#ifdef AHC_DEBUG + if (ahc_debug & AHC_SHOW_TQIN) { + printf("Incoming command from %d for %d:%d%s\n", + initiator, target, lun, + lstate == ahc->black_hole ? "(Black Holed)" : ""); + } #endif SLIST_REMOVE_HEAD(&lstate->accept_tios, sim_links.sle); @@ -7900,9 +7902,11 @@ ahc_handle_target_cmd(struct ahc_softc *ahc, struct target_cmd *cmd) * continue target I/O comes in response * to this accept tio. */ -#if 0 - printf("Received Immediate Command %d:%d:%d - %p\n", - initiator, target, lun, ahc->pending_device); +#ifdef AHC_DEBUG + if (ahc_debug & AHC_SHOW_TQIN) { + printf("Received Immediate Command %d:%d:%d - %p\n", + initiator, target, lun, ahc->pending_device); + } #endif ahc->pending_device = lstate; aic_freeze_ccb((union ccb *)atio); |
