diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-05-23 12:13:16 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-05-23 12:13:16 +0000 |
commit | 8f6176cfd2a6d7a3148059cb9323cfe18d5a029e (patch) | |
tree | 670d2ac201424bd888dbade0ccb340bf3c7c0ff8 | |
parent | 718ffce00b5db1586afb6a957c606e1b07719b7e (diff) | |
download | FreeBSD-src-8f6176cfd2a6d7a3148059cb9323cfe18d5a029e.zip FreeBSD-src-8f6176cfd2a6d7a3148059cb9323cfe18d5a029e.tar.gz |
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
-rw-r--r-- | sys/compat/linuxkpi/common/src/linux_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/src/linux_pci.c b/sys/compat/linuxkpi/common/src/linux_pci.c index e22d11e..a712649 100644 --- a/sys/compat/linuxkpi/common/src/linux_pci.c +++ b/sys/compat/linuxkpi/common/src/linux_pci.c @@ -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); |