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

repository service svn at openfirmware.info
Mon Jul 18 12:51:55 CEST 2011


Author: wmb
Date: Mon Jul 18 12:51:55 2011
New Revision: 2388
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2388

Log:
USB hub - added 100 ms delay between detecting insertion and probing the device in hopes of keeping devices like scanners happy.

Modified:
   dev/usb2/hcd/probehub.fth

Modified: dev/usb2/hcd/probehub.fth
==============================================================================
--- dev/usb2/hcd/probehub.fth	Mon Jul 18 03:27:11 2011	(r2387)
+++ dev/usb2/hcd/probehub.fth	Mon Jul 18 12:51:55 2011	(r2388)
@@ -145,6 +145,7 @@
       dup i port-status-changed?  if            ( hub-dev connected? )
          i disable-old-nodes                    ( hub-dev connected? )
          if                                     ( hub-dev )
+            d# 100 ms                           ( hub-dev )  \ Time for device to wake up
             dup i safe-probe-hub-port           ( hub-dev )
          then                                   ( hub-dev )
       else                                      ( hub-dev )



More information about the openfirmware mailing list