Author: wmb Date: Sat Oct 13 01:08:50 2012 New Revision: 3365 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3365
Log: Libertas WLAN driver - changed "0 [if]" to "[ifdef] notdef" because the former doesn't work the way you think when tokenizing FCode. The problem is that the tokenizer emits an FCode for the "0", so the compile-time "[if]" doesn't see a number on the stack.
Modified: dev/libertas.fth
Modified: dev/libertas.fth ============================================================================== --- dev/libertas.fth Fri Oct 12 08:28:22 2012 (r3364) +++ dev/libertas.fth Sat Oct 13 01:08:50 2012 (r3365) @@ -793,7 +793,7 @@ respbuf >fw-data 4 + le-l@ ;
-0 [if] +[ifdef] notdef : reg-access! ( n reg cmd -- ) 8 swap prepare-cmd ACTION_SET +xw @@ -812,7 +812,7 @@ : mac-reg@ ( reg -- n ) 19 ( CMD_MAC_REG_ACCESS ) reg-access@ ; -0 [if] +[ifdef] notdef : bbp-reg! ( n reg -- ) 1a ( CMD_BBP_REG_ACCESS ) reg-access! ;
openfirmware@openfirmware.info