summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev')
-rw-r--r--sys/contrib/dev/oltr/if_oltr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/oltr/if_oltr.c b/sys/contrib/dev/oltr/if_oltr.c
index 499580f..0275431 100644
--- a/sys/contrib/dev/oltr/if_oltr.c
+++ b/sys/contrib/dev/oltr/if_oltr.c
@@ -378,7 +378,7 @@ oltr_pci_attach(device_t dev)
* Allocate interrupt and DMA channel
*/
rid = 0;
- sc->oltr_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
+ sc->oltr_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
(sc->config.mode & TRLLD_MODE_SHARE_INTERRUPT ? RF_ACTIVE | RF_SHAREABLE : RF_ACTIVE));
if (sc->oltr_irq == NULL) {
device_printf(dev, "couldn't map interrupt\n");
OpenPOWER on IntegriCloud