Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2016 04:32:17 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r296023 - head/sys/dev/cy
Message-ID:  <201602250432.u1P4WHHO089496@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602250432.u1P4WHHO089496>