Author: ian
Date: Mon Jan 29 03:24:02 2018
New Revision: 328528
URL: https://svnweb.freebsd.org/changeset/base/328528

Log:
  Add a NO_GETMAXLUN quirk for the JMicron JMS567 USB to SATA bridge, to
  prevent lengthy timeout pauses while probing/attaching drives.

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  Mon Jan 29 02:29:08 2018        
(r328527)
+++ head/sys/dev/usb/quirk/usb_quirk.c  Mon Jan 29 03:24:02 2018        
(r328528)
@@ -244,6 +244,7 @@ static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRK
        USB_QUIRK(IOMEGA, ZIP100, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
            UQ_MSC_FORCE_PROTO_SCSI,
            UQ_MSC_NO_TEST_UNIT_READY), /* XXX ZIP drives can also use ATAPI */
+       USB_QUIRK(JMICRON, JMS567, 0x0000, 0xffff, UQ_MSC_NO_GETMAXLUN),
        USB_QUIRK(JMICRON, JM20337, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
            UQ_MSC_FORCE_PROTO_SCSI,
            UQ_MSC_NO_SYNC_CACHE),

Modified: head/sys/dev/usb/usbdevs
==============================================================================
--- head/sys/dev/usb/usbdevs    Mon Jan 29 02:29:08 2018        (r328527)
+++ head/sys/dev/usb/usbdevs    Mon Jan 29 03:24:02 2018        (r328528)
@@ -2580,6 +2580,7 @@ product JATON EDA         0x5704  Ethernet
 product JETI SPC1201           0x04b2  FTDI compatible adapter
 
 /* JMicron products */
+product JMICRON JMS567         0x0567  USB to SATA 6.0Gb/s bridge 
 product JMICRON JM20336                0x2336  USB to SATA Bridge
 product JMICRON JM20337                0x2338  USB to ATA/ATAPI Bridge
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to