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/ct | |
| parent | ac6c1372f4ebb24615370e358640100e663f6746 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ct')
| -rw-r--r-- | sys/dev/ct/ct_isa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ct/ct_isa.c b/sys/dev/ct/ct_isa.c index b6a937045fea..601f7fb06569 100644 --- a/sys/dev/ct/ct_isa.c +++ b/sys/dev/ct/ct_isa.c @@ -318,8 +318,8 @@ ct_space_map(device_t dev, struct bshw *hw, *memhp = NULL; port_rid = 0; - *iohp = bus_alloc_resource(dev, SYS_RES_IOPORT, &port_rid, 0ul, ~0ul, - BSHW_IOSZ, RF_ACTIVE); + *iohp = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &port_rid, + BSHW_IOSZ, RF_ACTIVE); if (*iohp == NULL) return ENXIO; @@ -327,8 +327,8 @@ ct_space_map(device_t dev, struct bshw *hw, return 0; mem_rid = 0; - *memhp = bus_alloc_resource(dev, SYS_RES_MEMORY, &mem_rid, 0ul, ~0ul, - BSHW_MEMSZ, RF_ACTIVE); + *memhp = bus_alloc_resource_anywhere(dev, SYS_RES_MEMORY, &mem_rid, + BSHW_MEMSZ, RF_ACTIVE); if (*memhp == NULL) { bus_release_resource(dev, SYS_RES_IOPORT, port_rid, *iohp); return ENXIO; |
