aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aic7xxx/aic79xx.c
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>2005-09-22 05:06:03 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>2005-09-22 05:06:03 +0000
commit23a6493baf6efebaa09f3b8759c3c56ff9a56796 (patch)
treec6cf25949fe7fdaa2ae5dcb6a00d799b80591232 /sys/dev/aic7xxx/aic79xx.c
parent16346ae5f5eeef68943d4e7a21dcebb7b9face9f (diff)
downloadsrc-23a6493baf6efebaa09f3b8759c3c56ff9a56796.tar.gz
src-23a6493baf6efebaa09f3b8759c3c56ff9a56796.zip
Enhance diagnostic printfs for the chains of free lists used to
avoid SCB ID collissions to non-packetized targets.
Notes
Notes: svn path=/head/; revision=150451
Diffstat (limited to 'sys/dev/aic7xxx/aic79xx.c')
-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 0cd1a7950574..09a0b388a005 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;