diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-02-27 03:34:01 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-02-27 03:34:01 +0000 |
| commit | eff83876b694c469eb9385a3bc106c8f66c72e75 (patch) | |
| tree | 9e95619450dade04a441482adba314c650089f3f /sys/dev/amdsbwd | |
| parent | 7ae7c1932bc6f6f722e926ede5a92020ded80cd5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/amdsbwd')
| -rw-r--r-- | sys/dev/amdsbwd/amdsbwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/amdsbwd/amdsbwd.c b/sys/dev/amdsbwd/amdsbwd.c index 4726416ff355..7221db405afd 100644 --- a/sys/dev/amdsbwd/amdsbwd.c +++ b/sys/dev/amdsbwd/amdsbwd.c @@ -395,8 +395,8 @@ amdsbwd_probe(device_t dev) return (ENXIO); } rid = 0; - res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0ul, ~0ul, - AMDSB_PMIO_WIDTH, RF_ACTIVE | RF_SHAREABLE); + res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, + RF_ACTIVE | RF_SHAREABLE); if (res == NULL) { device_printf(dev, "bus_alloc_resource for IO failed\n"); return (ENXIO); |
