cvs commit: src/sys/bus/usb uhub.c

Hasso Tepper hasso at crater.dragonflybsd.org
Fri Jan 25 00:50:33 PST 2008


hasso       2008/01/25 00:49:47 PST

DragonFly src repository

  Modified files:
    sys/bus/usb          uhub.c 
  Log:
  Speed up uhub attachment considerably. Rather than powering up each port
  individually then waiting for it to become stable, power them up all
  at once and then delay. Don't even bother delaying if we are a root hub,
  as this is handled separately in the event thread.
  
  My laptop boot time is cut down from 30 sec to 25 sec with this change.
  
  Obtained-from: OpenBSD via NetBSD
  
  Revision  Changes    Path
  1.20      +4 -2      src/sys/bus/usb/uhub.c


http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhub.c.diff?r1=1.19&r2=1.20&f=u





More information about the Commits mailing list