summaryrefslogtreecommitdiff
path: root/sys/dev/isci
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2016-02-19 03:37:56 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2016-02-19 03:37:56 +0000
commit43cd61606b6bfae52bb09856277751103bfa28fd (patch)
treeb91ec9765a2b284626335ef2c2e8df6e16a2c19f /sys/dev/isci
parent277db305768ad6765ed735ced43360000c282ed6 (diff)
Notes
Diffstat (limited to 'sys/dev/isci')
-rw-r--r--sys/dev/isci/isci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isci/isci.c b/sys/dev/isci/isci.c
index 5a1066c81a74..913952360670 100644
--- a/sys/dev/isci/isci.c
+++ b/sys/dev/isci/isci.c
@@ -138,8 +138,8 @@ isci_allocate_pci_memory(struct isci_softc *isci)
struct ISCI_PCI_BAR *pci_bar = &isci->pci_bar[i];
pci_bar->resource_id = PCIR_BAR(i*2);
- pci_bar->resource = bus_alloc_resource(isci->device,
- SYS_RES_MEMORY, &pci_bar->resource_id, 0, ~0, 1,
+ pci_bar->resource = bus_alloc_resource_any(isci->device,
+ SYS_RES_MEMORY, &pci_bar->resource_id,
RF_ACTIVE);
if(pci_bar->resource == NULL)