summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-10-09 03:52:07 +0000
committerimp <imp@FreeBSD.org>1999-10-09 03:52:07 +0000
commitbf25d10421581ad8ef8d50e0352d59ea5f0470eb (patch)
treeb2f77446c7d1697767dbc8c52d8c2d16f5f3009d /sys/dev/sound/pci
parentdf301c22fef92cb1370475459ed9cf804a87e0de (diff)
downloadFreeBSD-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/dev/sound/pci')
-rw-r--r--sys/dev/sound/pci/aureal.c2
1 files changed, 1 insertions, 1 deletions
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");
OpenPOWER on IntegriCloud