Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jan 2014 22:52:17 +0100
From:      Hans Petter Selasky <hps@bitfrost.no>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        =?UTF-8?B?6buE5paH6L6J?= <huanghwh@gmail.com>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Install 10.0-RC3 on MacBookPro Late 2013
Message-ID:  <52CB2591.9050401@bitfrost.no>
In-Reply-To: <52CACBB8.1020905@bitfrost.no>
References:  <CAB8uncZO19Aen%2BuQRgO3whSOTVM%2BftcsGrJuGZZd4Qbd1Zf5mw@mail.gmail.com>	<CAJ-Vmo=g-iVjNjygY93MVinptkA7HazJ3FRu1PsfKZtj-fubgg@mail.gmail.com>	<CAB8unca6XZSEa8=c21yDJ=ueuUiW=D4v2PcLEzgt_sfTgsuzqA@mail.gmail.com>	<CAB8unca8G32qcz67EaRdqrSBuO0YiBV4zL7fV3EfMozdeSsBQA@mail.gmail.com>	<52CA56E5.8030101@bitfrost.no>	<CAJ-Vmo=AxbQ9MMtkB_W3YW0s9QwmR8qWzgprOM_66MQqcgmdNQ@mail.gmail.com>	<CAB8uncbjhzG-9BYbYH6skhnf-O24hDeX644aEpz162C-FHWTFA@mail.gmail.com>	<52CA6E3F.9000301@bitfrost.no>	<CAB8uncah%2BCOOptDmOiaKseqfDyeVd3veg2RLREOzfYtaJhfLYA@mail.gmail.com>	<52CA7CE0.7070202@bitfrost.no> <CAJ-Vmok16O0hR9G9rhVeO6Ki3yn4DZgjj4s65ddhQS5MZXVeXw@mail.gmail.com> <52CACBB8.1020905@bitfrost.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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