Allow the DPT pci attachment to share IRQ's

Submitted by:	Jonathan Chen <jon@spock.org>
This commit is contained in:
peter 2000-08-26 22:19:53 +00:00
parent d7d1b5ab28
commit c2820425a4

View File

@ -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;