Re: Install 10.0-RC3 on MacBookPro Late 2013

From: Hans Petter Selasky <hps_at_bitfrost.no>
Date: Mon, 06 Jan 2014 22:52:17 +0100
On 01/06/14 16:28, Hans Petter Selasky wrote:
> On 01/06/14 15:17, Adrian Chadd wrote:
>> Right, but it used to work. That's the confusing bit. How'd you make
>> it not work? :)
>
> Binary sect the sys/dev/usb/controller/xhci.c revision history? There
> has been several bug reports for the Lynx point, and others XHCI
> chipsets are working just fine.
>

A wild guess:

Copy the USB-code from -current.

Add "#if 0" as shown sys/dev/usb/controller/xhci_pci.c

static int
xhci_pci_port_route(device_t self, uint32_t set, uint32_t clear)
{
#if 0
         uint32_t temp;

         temp = pci_read_config(self, PCI_XHCI_INTEL_USB3_PSSEN, 4) |
             pci_read_config(self, PCI_XHCI_INTEL_XUSB2PR, 4);

         temp |= set;
         temp &= ~clear;

         pci_write_config(self, PCI_XHCI_INTEL_USB3_PSSEN, temp, 4);
         pci_write_config(self, PCI_XHCI_INTEL_XUSB2PR, temp, 4);

         device_printf(self, "Port routing mask set to 0x%08x\n", temp);
#endif
         return (0);
}

--HPS
Received on Mon Jan 06 2014 - 20:51:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC