summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2011-04-06 13:33:47 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2011-04-06 13:33:47 +0000
commitccea6e4531d438d7b474430a02331525b934163e (patch)
tree5841b78db28d12a85fe074edbe12e9bc2ae75a4b /sys
parentceccf193f43a7aa0be26af06cc758b51a343a873 (diff)
unconditionally print scsi device ids instead of just when mpath is
enabled so people can get used to it. ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/scsiconf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 03b6a0ecaf2..3718c0e331c 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.171 2011/04/05 22:39:19 dlg Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.172 2011/04/06 13:33:46 dlg Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -768,7 +768,6 @@ scsibus_printlink(struct scsi_link *link)
printf(" %d/%s %s%s", type, dtype, removable ? "removable" : "fixed",
qtype);
-#if NMPATH > 0
if (link->id != NULL && link->id->d_type != DEVID_NONE) {
u_int8_t *id = (u_int8_t *)(link->id + 1);
int i;
@@ -802,7 +801,6 @@ scsibus_printlink(struct scsi_link *link)
printf("%02x", id[i]);
}
}
-#endif /* NMPATH > 0 */
}
/*