summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2005-09-22 05:06:03 +0000
committergibbs <gibbs@FreeBSD.org>2005-09-22 05:06:03 +0000
commit6504a57c8a4c495f4ee41f467e6170f13a03196e (patch)
treec6cf25949fe7fdaa2ae5dcb6a00d799b80591232 /sys/dev
parentefbd02745b779310e4296f6cf78dfd1af6928208 (diff)
downloadFreeBSD-src-6504a57c8a4c495f4ee41f467e6170f13a03196e.zip
FreeBSD-src-6504a57c8a4c495f4ee41f467e6170f13a03196e.tar.gz
Enhance diagnostic printfs for the chains of free lists used to
avoid SCB ID collissions to non-packetized targets.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/aic7xxx/aic79xx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aic79xx.c b/sys/dev/aic7xxx/aic79xx.c
index 0cd1a79..09a0b38 100644
--- a/sys/dev/aic7xxx/aic79xx.c
+++ b/sys/dev/aic7xxx/aic79xx.c
@@ -9078,11 +9078,12 @@ ahd_dump_card_state(struct ahd_softc *ahd)
}
printf("\nTotal %d\n", i);
- printf("Kernel Free SCB list: ");
+ printf("Kernel Free SCB lists: ");
i = 0;
TAILQ_FOREACH(scb, &ahd->scb_data.free_scbs, links.tqe) {
struct scb *list_scb;
+ printf("\n COLIDX[%d]: ", AHD_GET_SCB_COL_IDX(ahd, scb));
list_scb = scb;
do {
printf("%d ", SCB_GET_TAG(list_scb));
@@ -9090,6 +9091,7 @@ ahd_dump_card_state(struct ahd_softc *ahd)
} while (list_scb && i++ < AHD_SCB_MAX);
}
+ printf("\n Any Device: ");
LIST_FOREACH(scb, &ahd->scb_data.any_dev_free_scb_list, links.le) {
if (i++ > AHD_SCB_MAX)
break;
OpenPOWER on IntegriCloud