Date: Sun, 14 Aug 2016 05:10:26 +0000 (UTC) From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r304071 - head/sys/dev/ofw Message-ID: <201608140510.u7E5AQQb033958@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmel Date: Sun Aug 14 05:10:26 2016 New Revision: 304071 URL: https://svnweb.freebsd.org/changeset/base/304071 Log: OFWPCI: Don't strip RF_ACTIVE from flags when parent bus method is called. Reviewed by: nwhitehorn MFC after: 3 weeks Modified: head/sys/dev/ofw/ofwpci.c Modified: head/sys/dev/ofw/ofwpci.c ============================================================================== --- head/sys/dev/ofw/ofwpci.c Sun Aug 14 04:35:04 2016 (r304070) +++ head/sys/dev/ofw/ofwpci.c Sun Aug 14 05:10:26 2016 (r304071) @@ -414,14 +414,14 @@ #if defined(NEW_PCIB) && defined(PCI_RES_BUS) if (type == PCI_RES_BUS) { return (pci_domain_alloc_bus(sc->sc_pci_domain, child, rid, - start, end, count, flags)); + start, end, count, flags | needactivate)); } #endif rm = ofw_pci_get_rman(sc, type, flags); if (rm == NULL) { return (bus_generic_alloc_resource(bus, child, type, rid, - start, end, count, flags)); + start, end, count, flags | needactivate)); } rv = rman_reserve_resource(rm, start, end, count, flags, child);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608140510.u7E5AQQb033958>