summaryrefslogtreecommitdiffstats
path: root/sys/dev/mse/mse.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mse/mse.c')
-rw-r--r--sys/dev/mse/mse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c
index 8cd40f1..3f4acc5 100644
--- a/sys/dev/mse/mse.c
+++ b/sys/dev/mse/mse.c
@@ -331,8 +331,7 @@ mse_attach(dev)
MSE_IOSIZE, RF_ACTIVE);
if (sc->sc_port == NULL)
return ENXIO;
- sc->sc_intr = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1,
- RF_ACTIVE);
+ sc->sc_intr = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
if (sc->sc_intr == NULL) {
bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->sc_port);
return ENXIO;
OpenPOWER on IntegriCloud