PERFORCE change 140254 for review

Hans Petter Selasky hselasky at FreeBSD.org
Sat Apr 19 15:47:14 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=140254

Change 140254 by hselasky at hselasky_laptop001 on 2008/04/19 15:46:32

	
	Compile fix.

Affected files ...

.. //depot/projects/usb/src/sys/arm/at91/ohci_atmelarm.c#16 edit

Differences ...

==== //depot/projects/usb/src/sys/arm/at91/ohci_atmelarm.c#16 (text) ====

@@ -71,14 +71,10 @@
 	if (sc == NULL) {
 		return (ENXIO);
 	}
-	/* store parent DMA tag */
-
-	sc->sc_ohci.sc_bus.dma_tag_parent = device_get_dma_tag(dev);
-
 	/* get all DMA memory */
 
 	if (usbd_bus_mem_alloc_all(&(sc->sc_ohci.sc_bus),
-	    &ohci_iterate_hw_softc)) {
+	    device_get_dma_tag(dev), &ohci_iterate_hw_softc)) {
 		return ENOMEM;
 	}
 	sc->iclk = at91_pmc_clock_ref("ohci_clk");


More information about the p4-projects mailing list