From 53f8b5d2f14102f49c90990bdb2438b6c48cdaf9 Mon Sep 17 00:00:00 2001 From: Nick Hibma Date: Fri, 20 Jul 2001 09:20:43 +0000 Subject: [PATCH] Support for USB floppies based upon SMSC USB FDD controller. PR: 28877 Submitted by: Larry Baird MFC after: 1 week --- sys/cam/scsi/scsi_da.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 7301b1a46e63..832b26cc73f8 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -249,7 +249,17 @@ static struct da_quirk_entry da_quirk_table[] = { {T_OPTICAL, SIP_MEDIA_REMOVABLE, "FUJITSU", "MCF3064AP", "*"}, /*quirks*/ DA_Q_NO_6_BYTE + }, + { + /* + * The vendor, product and version strings coming from the + * controller are null terminated instead of being padded with + * spaces. The trailing wildcard character '*' is required. + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"}, + /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE } + }; static d_open_t daopen;