diff options
Diffstat (limited to 'sys/dev/sound/pci/als4000.c')
-rw-r--r-- | sys/dev/sound/pci/als4000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/als4000.c b/sys/dev/sound/pci/als4000.c index 85c48dd..0c1a85d 100644 --- a/sys/dev/sound/pci/als4000.c +++ b/sys/dev/sound/pci/als4000.c @@ -713,7 +713,7 @@ als_resource_free(device_t dev, struct sc_info *sc) static int als_resource_grab(device_t dev, struct sc_info *sc) { - sc->regid = PCIR_MAPS; + sc->regid = PCIR_BAR(0); sc->reg = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->regid, 0, ~0, ALS_CONFIG_SPACE_BYTES, RF_ACTIVE); if (sc->reg == 0) { |