Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2008 15:47:13 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 140254 for review
Message-ID:  <200804191547.m3JFlDSs002215@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=140254

Change 140254 by hselasky@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");



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