diff options
author | imp <imp@FreeBSD.org> | 1999-10-09 03:50:27 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-10-09 03:50:27 +0000 |
commit | e07a5548680fbf31bb4da163df25767fb92e0629 (patch) | |
tree | 966c52805bcd82a8807cbe42c6daad324a8efcce /sys | |
parent | 117aa238f6bd0423bf34de7f62b6410ac1f8d6a7 (diff) | |
download | FreeBSD-src-e07a5548680fbf31bb4da163df25767fb92e0629.zip FreeBSD-src-e07a5548680fbf31bb4da163df25767fb92e0629.tar.gz |
Allow interrupt sharing by allocating the interrupt RF_SHAREABLE.
This allows newpcm to grok my es1370 based card, which shared
interrupts with the ethernet card.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pcm/pci/es1370.c | 2 | ||||
-rw-r--r-- | sys/dev/pcm/pci/es137x.c | 2 | ||||
-rw-r--r-- | sys/dev/sound/pci/es137x.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pcm/pci/es1370.c b/sys/dev/pcm/pci/es1370.c index 778a06b..4bd8cd6 100644 --- a/sys/dev/pcm/pci/es1370.c +++ b/sys/dev/pcm/pci/es1370.c @@ -486,7 +486,7 @@ es_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, es_intr, es, &ih)) { device_printf(dev, "unable to map interrupt\n"); diff --git a/sys/dev/pcm/pci/es137x.c b/sys/dev/pcm/pci/es137x.c index 778a06b..4bd8cd6 100644 --- a/sys/dev/pcm/pci/es137x.c +++ b/sys/dev/pcm/pci/es137x.c @@ -486,7 +486,7 @@ es_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, es_intr, es, &ih)) { device_printf(dev, "unable to map interrupt\n"); diff --git a/sys/dev/sound/pci/es137x.c b/sys/dev/sound/pci/es137x.c index 778a06b..4bd8cd6 100644 --- a/sys/dev/sound/pci/es137x.c +++ b/sys/dev/sound/pci/es137x.c @@ -486,7 +486,7 @@ es_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, es_intr, es, &ih)) { device_printf(dev, "unable to map interrupt\n"); |