[openfirmware] r1352 - cpu/x86/pc/olpc/via

svn at openfirmware.info svn at openfirmware.info
Thu Sep 10 09:57:23 CEST 2009


Author: wmb
Date: 2009-09-10 09:57:22 +0200 (Thu, 10 Sep 2009)
New Revision: 1352

Modified:
   cpu/x86/pc/olpc/via/usb.fth
Log:
Via USB - fixed usb-quiet, added devalias net /usb/wlan,
call report-{net,disk} in probe-usb.


Modified: cpu/x86/pc/olpc/via/usb.fth
===================================================================
--- cpu/x86/pc/olpc/via/usb.fth	2009-09-05 09:09:26 UTC (rev 1351)
+++ cpu/x86/pc/olpc/via/usb.fth	2009-09-10 07:57:22 UTC (rev 1352)
@@ -41,6 +41,8 @@
       pwd$ $nopage-show-devs
    then
 ;
+devalias net  /usb/wlan
+
 : probe-usb  ( -- )
    ." USB2 devices:" cr
    " /" ['] (probe-usb2) scan-subtree
@@ -49,6 +51,10 @@
    ." USB1 devices:" cr
    " /" ['] (probe-usb1) scan-subtree
    " /" ['] (show-usb1) scan-subtree
+
+   report-disk
+   report-net
+   report-keyboard
 ;
 alias p2 probe-usb
 
@@ -90,8 +96,10 @@
 
 : usb-quiet  ( -- )
    [ ' go-hook behavior compile, ]    \ Chain to old behavior
-   " usb1" " reset-usb" execute-device-method drop
-   " usb2" " reset-usb" execute-device-method drop
+   " /usb at 10,0" " reset-usb" execute-device-method drop
+   " /usb at 10,1" " reset-usb" execute-device-method drop
+   " /usb at 10,2" " reset-usb" execute-device-method drop
+   " /usb at 10,4" " reset-usb" execute-device-method drop
 ;
 ' usb-quiet to go-hook
 




More information about the openfirmware mailing list