cvs commit: src/sys/dev/usb ehci.c ohci.c usb_subr.c

Ian Dowse iedowse at
Mon Oct 2 18:13:27 PDT 2006

iedowse     2006-10-03 01:13:26 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          ehci.c ohci.c usb_subr.c 
  When changing the device address and max packet size in usbd_new_device(),
  close and re-open the default pipe instead of relying on the host
  controller driver to notice the changes. Remove the unreliable code
  that attempted to update these fields while the pipe was active.
  This fixes a case where the hardware could cache and continue to
  use the old address, resulting in a "getting first desc failed"
  PR:             usb/103167
  Revision  Changes    Path
  1.50      +0 -11     src/sys/dev/usb/ehci.c
  1.165     +0 -10     src/sys/dev/usb/ohci.c
  1.87      +18 -0     src/sys/dev/usb/usb_subr.c

More information about the cvs-all mailing list