[openfirmware] [commit] r1736 - dev/usb2/device/wlan

repository service svn at openfirmware.info
Sat Feb 13 06:48:08 CET 2010


Author: wmb
Date: Sat Feb 13 06:48:07 2010
New Revision: 1736
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1736

Log:
OLPC XO-1.0 - fixed regression in wireless open routine - new USB set-config scheme was improperly applied to the wireless driver.

Modified:
   dev/usb2/device/wlan/usb8388.fth

Modified: dev/usb2/device/wlan/usb8388.fth
==============================================================================
--- dev/usb2/device/wlan/usb8388.fth	Sat Feb 13 06:47:01 2010	(r1735)
+++ dev/usb2/device/wlan/usb8388.fth	Sat Feb 13 06:48:07 2010	(r1736)
@@ -61,6 +61,13 @@
 : set-parent-channel  ( -- )  set-device  device set-target  ;
 
 : setup-bus-io  ( /inbuf /outbuf -- error? )
+   reset?  if
+      configuration set-config  if
+         ." Failed to set USB configuration for wireless" cr
+         true exit
+      then
+      bulk-in-pipe bulk-out-pipe reset-bulk-toggles
+   then
    4 bulk-out-pipe " begin-out-ring" $call-parent   ( /inbuf )
    h# 40 bulk-in-pipe  " begin-in-ring"  $call-parent
    false



More information about the openfirmware mailing list