Make interrupts shareable with RF_SHAREABLE. This is untested, but

it compiles and should just work.
This commit is contained in:
Warner Losh 1999-10-09 03:52:07 +00:00
parent c3c2c94e00
commit a832055165
2 changed files with 2 additions and 2 deletions

View File

@ -623,7 +623,7 @@ au_pci_attach(device_t dev)
irqid = 0;
irq = bus_alloc_resource(dev, SYS_RES_IRQ, &irqid,
0, ~0, 1, RF_ACTIVE);
0, ~0, 1, RF_ACTIVE | RF_SHAREABLE);
if (!irq
|| bus_setup_intr(dev, irq, INTR_TYPE_TTY, au_intr, au, &ih)) {
device_printf(dev, "unable to map interrupt\n");

View File

@ -623,7 +623,7 @@ au_pci_attach(device_t dev)
irqid = 0;
irq = bus_alloc_resource(dev, SYS_RES_IRQ, &irqid,
0, ~0, 1, RF_ACTIVE);
0, ~0, 1, RF_ACTIVE | RF_SHAREABLE);
if (!irq
|| bus_setup_intr(dev, irq, INTR_TYPE_TTY, au_intr, au, &ih)) {
device_printf(dev, "unable to map interrupt\n");