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

Ian Dowse iedowse at
Thu Jun 10 01:13:30 GMT 2004

iedowse     2004-06-10 01:13:27 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          uhub.c 
  Initialise `restartcnt' in the newly malloc'd usbd_port structure,
  as otherwise the junk it contains may cause uhub_explore to give
  up without ever trying to restart the port. This fixes the following
  errors I was seeing with a VIA UHCI controller:
          uhub0: port error, restarting port 1
          uhub0: port error, giving up port 1
  Revision  Changes    Path
  1.55      +1 -0      src/sys/dev/usb/uhub.c

More information about the cvs-src mailing list