Bug 28877

Summary: [Patch] support for USB FDD using SMSC controllers
Product: Base System Reporter: lab
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-RELEASE   
Hardware: Any   
OS: Any   

Description lab 2001-07-10 19:20:01 UTC
USB floppies based upon SMSC USB FDD controller don't work.  The FDD
is detected, but when tring to reand and or write, errors occur.

From dmseg
umass0: SMSC USBFDC GOLD-1.0, rev 1.10/1.00, addr 2
da4 at umass-sim0 bus 0 target 0 lun 0
da4: <SMSC USB FDC 1.00> Removable Direct Access SCSI-0 device
da4: 20KB/s transfers
da4: 1MB (2880 512 byte sectors: 2H 18S/T 80C)


Add following to da_quirk_table[] in sys/cam/scsi/scsi_da.c
        {
                /* SMSC USB floppy */
                {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"},
                /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
        },

Note the vendor, product and version for this controller are null
terminated instead of being padded with spaces.  The trailing wildcard
character '*' is required.
Comment 1 Nick Hibma freebsd_committer freebsd_triage 2001-07-20 10:20:55 UTC
State Changed
From-To: open->closed

Committed to CURRENT, will be MFC-ed in a week. Thanks!