Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 00:18:59 -0500
From:      Craig Boston <craig@xfoil.gank.org>
To:        current@FreeBSD.org
Subject:   Re: *IT WORKS* Re: CardBus USB 2.0 Controller (NEC uPD)
Message-ID:  <200306120018.59959.craig@xfoil.gank.org>
In-Reply-To: <200306112244.10466.craig@xfoil.gank.org>
References:  <1055260269.91337.127.camel@owen1492.uf.corelab.com> <20030612002139.GT26807@cicely12.cicely.de> <200306112244.10466.craig@xfoil.gank.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Cut-and-paste of the patch since the attachment disappeared...  Probably won't 
apply cleanly because of tabs.

--- ohci_pci.c.orig     2003-06-11 22:32:42.000000000 -0500
+++ ohci_pci.c  2003-06-11 22:01:43.000000000 -0500
@@ -173,6 +173,8 @@
	/* XXX where does it say so in the spec? */
	sc->sc_bus.usbrev = USBREV_1_0;

+	pci_enable_busmaster(self);
+
	rid = PCI_CBMEM;
	sc->io_res = bus_alloc_resource(self, SYS_RES_MEMORY, &rid,
		0, ~0, 1, RF_ACTIVE);
--- ehci_pci.c.orig     2003-06-11 22:32:36.000000000 -0500
+++ ehci_pci.c  2003-06-11 22:33:08.000000000 -0500
@@ -158,6 +158,8 @@
		break;
	}

+	pci_enable_busmaster(self);
+
	rid = PCI_CBMEM;
	sc->io_res = bus_alloc_resource(self, SYS_RES_MEMORY, &rid,
		0, ~0, 1, RF_ACTIVE);



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