xhci problem on UEFI boot MacBookPro 11,3

Huang Wen Hui huanghwh at gmail.com
Sun Sep 28 04:26:08 UTC 2014


No lucky. dmesg aslo no change, I could not found "Skipped".

Cheers,
Huang Wen Hui

2014-09-28 2:31 GMT+08:00 Hans Petter Selasky <hps at selasky.org>:

> On 09/27/14 20:29, Hans Petter Selasky wrote:
>
>> Hi,
>>
>> Can you try the attached patch?
>>
>> --HPS
>>
>
> === dev/pci/pci.c
> ==================================================================
> --- dev/pci/pci.c       (revision 272064)
> +++ dev/pci/pci.c       (local)
> @@ -3025,7 +3025,10 @@
>         /* Update the config register if it changed. */
>         if (irq != cfg->intline) {
>                 cfg->intline = irq;
> -               pci_write_config(dev, PCIR_INTLINE, irq, 1);
> +               if (irq != 255)
> +                       pci_write_config(dev, PCIR_INTLINE, irq, 1);
> +               else
> +                       printf("Skipped\n");
>         }
>
>         /* Add this IRQ as rid 0 interrupt resource. */
>
>


More information about the freebsd-usb mailing list