diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-02-25 04:32:17 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-02-25 04:32:17 +0000 |
| commit | a4965cf07b3dc6fdaa77c67bbff7979b8a926d30 (patch) | |
| tree | 4fd305f51ddbeb4916f6611ae41c0466f916d843 /sys/dev/cy | |
| parent | ea134429d0c858bbfeb4c696416892c010e7e900 (diff) | |
Notes
Diffstat (limited to 'sys/dev/cy')
| -rw-r--r-- | sys/dev/cy/cy_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cy/cy_pci.c b/sys/dev/cy/cy_pci.c index d480fd241e6c..3f9a1826f6b5 100644 --- a/sys/dev/cy/cy_pci.c +++ b/sys/dev/cy/cy_pci.c @@ -114,7 +114,7 @@ cy_pci_attach(dev) mem_res = NULL; ioport_rid = CY_PCI_BASE_ADDR1; - ioport_res = bus_alloc_resource_(dev, SYS_RES_IOPORT, &ioport_rid, + ioport_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &ioport_rid, RF_ACTIVE); if (ioport_res == NULL) { device_printf(dev, "ioport resource allocation failed\n"); |
