svn commit: r300499 - head/sys/compat/linuxkpi/common/src
Hans Petter Selasky
hselasky at FreeBSD.org
Mon May 23 12:13:18 UTC 2016
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);
More information about the svn-src-head
mailing list