Date: Tue, 13 Jan 2009 19:14:51 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187186 - head/sys/dev/usb2/controller Message-ID: <200901131914.n0DJEp6E013285@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901131914.n0DJEp6E013285>