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. */

_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to