diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-02-27 03:38:01 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-02-27 03:38:01 +0000 |
| commit | c47476d7e6801deffc8b3c057d0fbf7d2335a0c2 (patch) | |
| tree | bc27bca5a9b117f27964de1fbd3efe2e2ec151d3 /sys/dev/rp | |
| parent | ac6c1372f4ebb24615370e358640100e663f6746 (diff) | |
Notes
Diffstat (limited to 'sys/dev/rp')
| -rw-r--r-- | sys/dev/rp/rp_isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rp/rp_isa.c b/sys/dev/rp/rp_isa.c index 2f612308f45b5..9ea7fc04e2776 100644 --- a/sys/dev/rp/rp_isa.c +++ b/sys/dev/rp/rp_isa.c @@ -194,10 +194,10 @@ rp_probe(device_t dev) ctlp->io_rid[0] = 0; if (rp_controller != NULL) { controller = rp_controller; - ctlp->io[0] = bus_alloc_resource(dev, SYS_RES_IOPORT, &ctlp->io_rid[0], 0, ~0, 0x40, RF_ACTIVE); + ctlp->io[0] = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &ctlp->io_rid[0], 0x40, RF_ACTIVE); } else { controller = rp_controller = ctlp; - ctlp->io[0] = bus_alloc_resource(dev, SYS_RES_IOPORT, &ctlp->io_rid[0], 0, ~0, 0x44, RF_ACTIVE); + ctlp->io[0] = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &ctlp->io_rid[0], 0x44, RF_ACTIVE); } if (ctlp->io[0] == NULL) { device_printf(dev, "rp_attach: Resource not available.\n"); |
