From owner-svn-src-head@FreeBSD.ORG Tue Jan 13 19:14:52 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E5B5106582D; Tue, 13 Jan 2009 19:14:52 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0FB8FC29; Tue, 13 Jan 2009 19:14:52 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0DJEphE013287; Tue, 13 Jan 2009 19:14:51 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0DJEp6E013285; Tue, 13 Jan 2009 19:14:51 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200901131914.n0DJEp6E013285@svn.freebsd.org> From: Andrew Thompson Date: Tue, 13 Jan 2009 19:14:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187186 - head/sys/dev/usb2/controller X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 19:14:54 -0000 Author: thompsa Date: Tue Jan 13 19:14:51 2009 New Revision: 187186 URL: http://svn.freebsd.org/changeset/base/187186 Log: Sync to p4 156093 - Add quirks for Parallels These snuck in as part of a perforce IFC. Modified: head/sys/dev/usb2/controller/ehci2_pci.c head/sys/dev/usb2/controller/uhci2_pci.c Modified: head/sys/dev/usb2/controller/ehci2_pci.c ============================================================================== --- head/sys/dev/usb2/controller/ehci2_pci.c Tue Jan 13 19:07:23 2009 (r187185) +++ head/sys/dev/usb2/controller/ehci2_pci.c Tue Jan 13 19:14:51 2009 (r187186) @@ -261,8 +261,10 @@ ehci_pci_attach(device_t self) sc->sc_bus.usbrev = USB_REV_2_0; break; default: - sc->sc_bus.usbrev = USB_REV_UNKNOWN; - break; + /* Quirk for Parallels Desktop 4.0 */ + device_printf(self, "USB revision is unknown. Assuming v2.0.\n"); + sc->sc_bus.usbrev = USB_REV_2_0; + break; } rid = PCI_CBMEM; Modified: head/sys/dev/usb2/controller/uhci2_pci.c ============================================================================== --- head/sys/dev/usb2/controller/uhci2_pci.c Tue Jan 13 19:07:23 2009 (r187185) +++ head/sys/dev/usb2/controller/uhci2_pci.c Tue Jan 13 19:14:51 2009 (r187186) @@ -320,7 +320,9 @@ uhci_pci_attach(device_t self) sc->sc_bus.usbrev = USB_REV_1_0; break; default: - sc->sc_bus.usbrev = USB_REV_UNKNOWN; + /* Quirk for Parallels Desktop 4.0 */ + device_printf(self, "USB revision is unknown. Assuming v1.1.\n"); + sc->sc_bus.usbrev = USB_REV_1_1; break; }