PERFORCE change 155896 for review
    Weongyo Jeong 
    weongyo at FreeBSD.org
       
    Sat Jan 10 00:59:41 PST 2009
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=155896
Change 155896 by weongyo at weongyo_ws on 2009/01/10 08:59:26
	In USB 2.0 specification The USB System Software should guarantees
	a minumum of 10ms for reset recovery but it looks the USB1 framework
	doesn't follow it.  So it looks sometimes it failed to re-attach or
	reenumerate devices after the device reset.
	
	With this patch, the fw loading operation of uath(4) works.
Affected files ...
.. //depot/projects/vap/sys/dev/usb/usb.c#8 edit
Differences ...
==== //depot/projects/vap/sys/dev/usb/usb.c#8 (text+ko) ====
@@ -725,6 +725,7 @@
 	while (sc->sc_bus->needs_explore && !sc->sc_dying) {
 		sc->sc_bus->needs_explore = 0;
 		splx(s);
+		usbd_delay_ms(sc->sc_bus->root_hub, 10);
 		sc->sc_bus->root_hub->hub->explore(sc->sc_bus->root_hub);
 		s = splusb();
 	}
    
    
More information about the p4-projects
mailing list