mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 14:29:28 +00:00
Allow the DPT pci attachment to share IRQ's
Submitted by: Jonathan Chen <jon@spock.org>
This commit is contained in:
parent
877dd71fc6
commit
cffd8a1d93
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65120
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user