Author: quozl Date: Fri Mar 15 06:22:41 2013 New Revision: 3610 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3610
Log: OLPC XO-1.5 - Marvell WLAN driver, fix a Page Fault during device open, adjust stack comments in cmd-out
Modified: dev/mmc/sdhci/mv8686/mv8686.fth
Modified: dev/mmc/sdhci/mv8686/mv8686.fth ============================================================================== --- dev/mmc/sdhci/mv8686/mv8686.fth Fri Mar 15 05:56:24 2013 (r3609) +++ dev/mmc/sdhci/mv8686/mv8686.fth Fri Mar 15 06:22:41 2013 (r3610) @@ -33,9 +33,9 @@
: cmd-out ( adr len -- error? ) /fw-transport negate /string ( adr' len' ) - read-poll ( len ) - 2dup swap >fw-plen le-w! ( len ) - CMD_TYPE_CMD 2 pick >fw-type le-w! ( len ) + read-poll ( adr len ) + 2dup swap >fw-plen le-w! ( adr len ) + CMD_TYPE_CMD 2 pick >fw-type le-w! ( adr len ) packet-out ( error? ) ;
@@ -109,7 +109,7 @@ false ;
-: alloc-buffer ( len -- adr ) /fw-transport + dma-alloc ; +: alloc-buffer ( len -- adr ) /fw-transport + dma-alloc /fw-transport + ; : free-buffer ( adr len -- ) /fw-transport negate /string dma-free ;
\ LICENSE_BEGIN
openfirmware@openfirmware.info