diff options
author | Joshua M. Clulow <josh@sysmgr.org> | 2021-06-29 11:31:06 -0700 |
---|---|---|
committer | Joshua M. Clulow <josh@sysmgr.org> | 2021-06-29 11:31:06 -0700 |
commit | cefe3a5bc6997118798a0014a97aafc3a381efce (patch) | |
tree | f584374691559a2b8ddc5f139df2d774709ac08a /usr/src | |
parent | 47b9747f90c9eb7e841fb67c110f8cc5fca20cd1 (diff) | |
download | illumos-gate-cefe3a5bc6997118798a0014a97aafc3a381efce.tar.gz |
13818 Insyde BMC virtual CD-ROM confused by MODE SENSE
Reviewed by: Andy Fiddaman <andy@omnios.org>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/usb/scsa2usb/scsa2usb.c | 4 | ||||
-rw-r--r-- | usr/src/uts/common/sys/usb/scsa2usb/scsa2usb.h | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/usb/scsa2usb/scsa2usb.c b/usr/src/uts/common/io/usb/scsa2usb/scsa2usb.c index 2e440ef448..e70ae4376e 100644 --- a/usr/src/uts/common/io/usb/scsa2usb/scsa2usb.c +++ b/usr/src/uts/common/io/usb/scsa2usb/scsa2usb.c @@ -389,6 +389,10 @@ static struct quirk { /* Western Digital External HDD */ {MS_WD_VID, MS_WD_PID, X, SCSA2USB_ATTRS_INQUIRY_EVPD}, + + /* Insyde Virtual CD-ROM */ + {MS_INSYDE_VID, MS_INSYDE_PID_CDROM, X, + SCSA2USB_ATTRS_MODE_SENSE}, }; diff --git a/usr/src/uts/common/sys/usb/scsa2usb/scsa2usb.h b/usr/src/uts/common/sys/usb/scsa2usb/scsa2usb.h index 8177f9542d..a161530e97 100644 --- a/usr/src/uts/common/sys/usb/scsa2usb/scsa2usb.h +++ b/usr/src/uts/common/sys/usb/scsa2usb/scsa2usb.h @@ -127,6 +127,13 @@ extern "C" { #define MS_WD_PID 0x1001 /* PID for Western Digital USB External HDD */ /* + * The virtual CD-ROM device emulated by at least some Insyde BMCs is not + * completely implemented. It hangs when a MODE SENSE command is sent. + */ +#define MS_INSYDE_VID 0xb1f /* Vendor: Insyde Software Corp */ +#define MS_INSYDE_PID_CDROM 0x03ea /* Product: BMC Virtual CD-ROM */ + +/* * The AMI virtual floppy device is not a real USB storage device, but * emulated by the SP firmware shipped together with important Sun x86 * products such as Galaxy and Thumper platforms. The device causes |