Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 04:13:46 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r245358 - in stable/9/sys/dev/usb: . quirk
Message-ID:  <201301130413.r0D4DkXX095632@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sun Jan 13 04:13:45 2013
New Revision: 245358
URL: http://svnweb.freebsd.org/changeset/base/245358

Log:
  MFC r244719:
    Add the NO_SYNC_CACHE quirk for all Apple USB MSC devices, as they
    typically do not handle the SYNCHRONIZE_CACHE command - they either
    return an error or the firmware enters a reset loop.
  
  Approved by:	rstone (co-mentor)

Modified:
  stable/9/sys/dev/usb/quirk/usb_quirk.c
  stable/9/sys/dev/usb/usbdevs
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/usb/quirk/usb_quirk.c
==============================================================================
--- stable/9/sys/dev/usb/quirk/usb_quirk.c	Sun Jan 13 04:13:14 2013	(r245357)
+++ stable/9/sys/dev/usb/quirk/usb_quirk.c	Sun Jan 13 04:13:45 2013	(r245358)
@@ -480,6 +480,7 @@ static struct usb_quirk_entry usb_quirks
 	 * after issuing non-supported commands:
 	 */
 	USB_QUIRK(ALCOR, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MSC_NO_TEST_UNIT_READY, UQ_MATCH_VENDOR_ONLY),
+	USB_QUIRK(APPLE, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),
 	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),
 	USB_QUIRK(INITIO, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY),

Modified: stable/9/sys/dev/usb/usbdevs
==============================================================================
--- stable/9/sys/dev/usb/usbdevs	Sun Jan 13 04:13:14 2013	(r245357)
+++ stable/9/sys/dev/usb/usbdevs	Sun Jan 13 04:13:45 2013	(r245358)
@@ -1049,6 +1049,7 @@ product AOX USB101		0x0008	Ethernet
 product APC UPS			0x0002	Uninterruptible Power Supply
 
 /* Apple Computer products */
+product APPLE DUMMY		0x0000	Dummy product
 product APPLE IMAC_KBD		0x0201	USB iMac Keyboard
 product APPLE KBD		0x0202	USB Keyboard M2452
 product APPLE EXT_KBD		0x020c	Apple Extended USB Keyboard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301130413.r0D4DkXX095632>