From d36ed539461139f3eb1c2ca2905f8954a250265f Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 6 Apr 2011 15:16:55 +0000 Subject: 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@ --- sys/scsi/scsiconf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/scsi/scsiconf.h') diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index e9a5f80e8b5..aebaffa35db 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.h,v 1.143 2011/04/05 14:25:42 dlg Exp $ */ +/* $OpenBSD: scsiconf.h,v 1.144 2011/04/06 15:16:54 dlg Exp $ */ /* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */ /* @@ -233,6 +233,7 @@ _4ltol(u_int8_t *bytes) #define DEVID_NAA 1 #define DEVID_EUI 2 #define DEVID_T10 3 +#define DEVID_SERIAL 4 struct devid { u_int8_t d_type; -- cgit v1.2.3