xhci problem on UEFI boot MacBookPro 11,3
Hans Petter Selasky
hps at selasky.org
Sat Sep 27 18:32:05 UTC 2014
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