svn commit: r225777 - in head/sys/dev/usb: . quirk
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Sep 27 07:06:03 UTC 2011
Author: hselasky
Date: Tue Sep 27 07:06:02 2011
New Revision: 225777
URL: http://svn.freebsd.org/changeset/base/225777
Log:
Add quirks for some USB mass storage devices which doesn't respond
after trying to query the synchronize cache support.
Submitted by: Keith White
PR: usb/160911
Approved by: re (kensmith)
MFC after: 1 week
Modified:
head/sys/dev/usb/quirk/usb_quirk.c
head/sys/dev/usb/usbdevs
Modified: head/sys/dev/usb/quirk/usb_quirk.c
==============================================================================
--- head/sys/dev/usb/quirk/usb_quirk.c Tue Sep 27 07:05:41 2011 (r225776)
+++ head/sys/dev/usb/quirk/usb_quirk.c Tue Sep 27 07:06:02 2011 (r225777)
@@ -457,6 +457,13 @@ static struct usb_quirk_entry usb_quirks
USB_QUIRK(ROLAND, SD80, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
USB_QUIRK(ROLAND, UA700, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS),
USB_QUIRK(MEDELI, DD305, 0x0000, 0xffff, UQ_SINGLE_CMD_MIDI, UQ_MATCH_VENDOR_ONLY),
+
+ /*
+ * Quirks for manufacturers which USB devices does not respond
+ * after issuing non-supported commands:
+ */
+ USB_QUIRK(FEIYA, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
+ USB_QUIRK(REALTEK, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
};
#undef USB_QUIRK_VP
#undef USB_QUIRK
Modified: head/sys/dev/usb/usbdevs
==============================================================================
--- head/sys/dev/usb/usbdevs Tue Sep 27 07:05:41 2011 (r225776)
+++ head/sys/dev/usb/usbdevs Tue Sep 27 07:06:02 2011 (r225777)
@@ -1569,6 +1569,7 @@ product EXTENDED XTNDACCESS 0x0100 XTNDA
product FALCOM TWIST 0x0001 USB GSM/GPRS Modem
/* FEIYA products */
+product FEIYA DUMMY 0x0000 Dummy product
product FEIYA 5IN1 0x1132 5-in-1 Card Reader
product FEIYA AC110 0x6300 AC-110 Card Reader
@@ -2780,6 +2781,7 @@ product RATOC REXUSB60F 0xb020 USB seri
/* ReakTek products */
/* Green House and CompUSA OEM this part */
+product REALTEK DUMMY 0x0000 Dummy product
product REALTEK USB20CRW 0x0158 USB20CRW Card Reader
product REALTEK USBKR100 0x8150 USBKR100 USB Ethernet
product REALTEK RTL8187 0x8187 RTL8187 Wireless Adapter
More information about the svn-src-all
mailing list