summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-05-26 17:58:41 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-05-26 17:58:41 +0000
commit6f4289e0226cb06a1200b30be68cc2337d1e8f71 (patch)
tree40ca4ce04fbeeb5d15eac254978e2a1cc2e86fb0 /sys
parentca26a9bd219d772f10b862a874a5081363d7e7ec (diff)
Print SCSI initiator ID such that it is easier to spot configuration
problems. ok krw@, marco@, deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/scsiconf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 5cd909e7789..411f816d200 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.130 2008/04/24 14:51:12 krw Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.131 2008/05/26 17:58:40 kettenis Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -158,7 +158,8 @@ scsibusattach(struct device *parent, struct device *self, void *aux)
if (sb->adapter_link->luns == 0)
sb->adapter_link->luns = 8;
- printf(": %d targets\n", sb->sc_buswidth);
+ printf(": %d targets, initiator %d\n", sb->sc_buswidth,
+ sb->adapter_link->adapter_target);
/* Initialize shared data. */
scsi_init();