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/oce | |
| parent | ac6c1372f4ebb24615370e358640100e663f6746 (diff) | |
Notes
Diffstat (limited to 'sys/dev/oce')
| -rw-r--r-- | sys/dev/oce/oce_hw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/oce/oce_hw.c b/sys/dev/oce/oce_hw.c index 8d292880e3cb..aad5795a97e5 100644 --- a/sys/dev/oce/oce_hw.c +++ b/sys/dev/oce/oce_hw.c @@ -268,9 +268,8 @@ oce_hw_pci_alloc(POCE_SOFTC sc) SYS_RES_MEMORY, &rr, RF_ACTIVE|RF_SHAREABLE); else - sc->devcfg_res = bus_alloc_resource(sc->dev, - SYS_RES_MEMORY, &rr, - 0ul, ~0ul, 32768, + sc->devcfg_res = bus_alloc_resource_anywhere(sc->dev, + SYS_RES_MEMORY, &rr, 32768, RF_ACTIVE|RF_SHAREABLE); if (!sc->devcfg_res) |
