[openfirmware] [commit] r2407 - dev/usb2/hcd

repository service svn at openfirmware.info
Tue Aug 2 21:01:06 CEST 2011


Author: wmb
Date: Tue Aug  2 21:01:06 2011
New Revision: 2407
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2407

Log:
OLPC trac #11100 - fixed USB hub selftest stack error introduced by recent change to control port ordering.

Modified:
   dev/usb2/hcd/probehub.fth

Modified: dev/usb2/hcd/probehub.fth
==============================================================================
--- dev/usb2/hcd/probehub.fth	Tue Aug  2 20:49:40 2011	(r2406)
+++ dev/usb2/hcd/probehub.fth	Tue Aug  2 21:01:06 2011	(r2407)
@@ -229,13 +229,14 @@
       4 0 do
          dup h# ff000000 and d# 24 rshift h# ff and     ( seq port )
          dup if                                         ( seq port )
-            (hub-selftest)  if  true exit  then
-         else
-            drop
-         then                                   ( seq )
-         d# 8 lshift                            ( seq' )
-      loop
-   then
+            (hub-selftest)  if  drop true exit  then
+         else                                           ( seq port )
+            drop                                        ( seq )
+         then                                           ( seq )
+         d# 8 lshift                                    ( seq' )
+      loop                                              ( seq )
+      drop                                              ( )
+   then                                                 ( )
 
    \ Maybe need to reset the entire hub here
    false                                        ( false )



More information about the openfirmware mailing list