diff options
author | imp <imp@FreeBSD.org> | 1999-10-09 03:52:07 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-10-09 03:52:07 +0000 |
commit | bf25d10421581ad8ef8d50e0352d59ea5f0470eb (patch) | |
tree | b2f77446c7d1697767dbc8c52d8c2d16f5f3009d /sys | |
parent | df301c22fef92cb1370475459ed9cf804a87e0de (diff) | |
download | FreeBSD-src-bf25d10421581ad8ef8d50e0352d59ea5f0470eb.zip FreeBSD-src-bf25d10421581ad8ef8d50e0352d59ea5f0470eb.tar.gz |
Make interrupts shareable with RF_SHAREABLE. This is untested, but
it compiles and should just work.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pcm/pci/aureal.c | 2 | ||||
-rw-r--r-- | sys/dev/sound/pci/aureal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcm/pci/aureal.c b/sys/dev/pcm/pci/aureal.c index 291f68e..941bdc5 100644 --- a/sys/dev/pcm/pci/aureal.c +++ b/sys/dev/pcm/pci/aureal.c @@ -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"); diff --git a/sys/dev/sound/pci/aureal.c b/sys/dev/sound/pci/aureal.c index 291f68e..941bdc5 100644 --- a/sys/dev/sound/pci/aureal.c +++ b/sys/dev/sound/pci/aureal.c @@ -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"); |