Author: jhibbits Date: Thu Feb 25 04:32:17 2016 New Revision: 296023 URL: https://svnweb.freebsd.org/changeset/base/296023
Log: Fix the build. Pointy-hat to: jhibbits Spotted by: bde Modified: head/sys/dev/cy/cy_pci.c Modified: head/sys/dev/cy/cy_pci.c ============================================================================== --- head/sys/dev/cy/cy_pci.c Thu Feb 25 03:21:25 2016 (r296022) +++ head/sys/dev/cy/cy_pci.c Thu Feb 25 04:32:17 2016 (r296023) @@ -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"); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"