Author: wmb Date: 2007-07-28 19:45:18 +0200 (Sat, 28 Jul 2007) New Revision: 503
Modified: cpu/x86/pc/olpc/mfgtree.fth Log: OLPC - "invent" SN (0) and U# (0) properties in /mfg-data for systems that have no manufacturing data.
Modified: cpu/x86/pc/olpc/mfgtree.fth =================================================================== --- cpu/x86/pc/olpc/mfgtree.fth 2007-07-27 05:29:41 UTC (rev 502) +++ cpu/x86/pc/olpc/mfgtree.fth 2007-07-28 17:45:18 UTC (rev 503) @@ -12,7 +12,18 @@ >r encode-bytes r> 2 property ( adr ) repeat ( adr ) drop + " SN" get-property if + " SHF00000000" " SN" string-property + else + 2drop + then + " U#" get-property if + " 00000000-0000-0000-0000-000000000000" " S#" string-property + else + 2drop + then device-end + ;
\ LICENSE_BEGIN