Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2006 01:13:26 +0000 (UTC)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/usb ehci.c ohci.c usb_subr.c
Message-ID:  <200610030113.k931DQl5049711@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2006-10-03 01:13:26 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          ehci.c ohci.c usb_subr.c 
  Log:
  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"
  error.
  
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610030113.k931DQl5049711>