Always allocate PCI/ISA interrupts as shareable so that shared
interrupts don't cause driver attach failures.
This commit is contained in:
parent
9bf9af1004
commit
0c8e3b18f0
@ -783,6 +783,7 @@ pci_ocp_alloc_resource(device_t dev, device_t child, int type, int *rid,
|
|||||||
device_printf(dev, "%s requested ISA interrupt %lu\n",
|
device_printf(dev, "%s requested ISA interrupt %lu\n",
|
||||||
device_get_nameunit(child), start);
|
device_get_nameunit(child), start);
|
||||||
}
|
}
|
||||||
|
flags |= RF_SHAREABLE;
|
||||||
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
|
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
|
||||||
type, rid, start, end, count, flags));
|
type, rid, start, end, count, flags));
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user