diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2011-04-06 15:16:55 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2011-04-06 15:16:55 +0000 |
commit | d36ed539461139f3eb1c2ca2905f8954a250265f (patch) | |
tree | f9f3d1338115b83223afd422b3225246a049e554 /sys/scsi/scsiconf.c | |
parent | a5e0218e967719742d76ea571cbcafb03fffa027 (diff) |
add a new "serial" devid type for scsi devices. add code to usb that fakes
it up by using the usb devices iSerial thing.
ok deraadt@
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r-- | sys/scsi/scsiconf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index 3718c0e331c..04df4b3d411 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.c,v 1.172 2011/04/06 13:33:46 dlg Exp $ */ +/* $OpenBSD: scsiconf.c,v 1.173 2011/04/06 15:16:54 dlg Exp $ */ /* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */ /* @@ -782,6 +782,9 @@ scsibus_printlink(struct scsi_link *link) case DEVID_T10: printf(" t10."); break; + case DEVID_SERIAL: + printf(" serial."); + break; } if (ISSET(link->id->d_flags, DEVID_F_PRINT)) { |