diff options
author | peter <peter@FreeBSD.org> | 2000-08-26 22:19:53 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-08-26 22:19:53 +0000 |
commit | 24dd8f6d22a72c7e6861d7d695fac4a49d3d8a13 (patch) | |
tree | cba1ddfe8e4ce02ca47a3e7e58b66b127b287778 /sys/dev/dpt/dpt_pci.c | |
parent | 251e663e8a4c6d0506a5b9cf7374694a757bc5a4 (diff) | |
download | FreeBSD-src-24dd8f6d22a72c7e6861d7d695fac4a49d3d8a13.zip FreeBSD-src-24dd8f6d22a72c7e6861d7d695fac4a49d3d8a13.tar.gz |
Allow the DPT pci attachment to share IRQ's
Submitted by: Jonathan Chen <jon@spock.org>
Diffstat (limited to 'sys/dev/dpt/dpt_pci.c')
-rw-r--r-- | sys/dev/dpt/dpt_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c index 20487bb..b68cfce 100644 --- a/sys/dev/dpt/dpt_pci.c +++ b/sys/dev/dpt/dpt_pci.c @@ -106,7 +106,8 @@ dpt_pci_attach (device_t dev) } rid = 0; - irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, RF_ACTIVE); + irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, + RF_ACTIVE | RF_SHAREABLE); if (!irq) { device_printf(dev, "No irq?!\n"); error = ENOMEM; |