Author: hselasky Date: Mon May 23 12:13:16 2016 New Revision: 300499 URL: https://svnweb.freebsd.org/changeset/base/300499
Log: Set an invalid IRQ number when no PCI IRQ is available in the LinuxKPI. Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common/src/linux_pci.c Modified: head/sys/compat/linuxkpi/common/src/linux_pci.c ============================================================================== --- head/sys/compat/linuxkpi/common/src/linux_pci.c Mon May 23 12:10:28 2016 (r300498) +++ head/sys/compat/linuxkpi/common/src/linux_pci.c Mon May 23 12:13:16 2016 (r300499) @@ -139,7 +139,7 @@ linux_pci_attach(device_t dev) if (rle) pdev->dev.irq = rle->start; else - pdev->dev.irq = 0; + pdev->dev.irq = 255; pdev->irq = pdev->dev.irq; mtx_unlock(&Giant); spin_lock(&pci_lock); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"