Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 06:22:13 -0700 (PDT)
From:      Nick Hibma <n_hibma@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/usb umass.c
Message-ID:  <200204101322.g3ADMF878838@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
n_hibma     2002/04/10 06:22:13 PDT

  Modified files:
    sys/dev/usb          umass.c 
  Log:
  Postpone I/O to the device until attach has finished. This fixes
  attachment after boot in some cases where the device gets confused if
  spoken to over two different pipes simultaneously (resulting in TIMEOUT
  errors on requesting INQUIRY data).
  
  This solution is far from perfect, as after umass_attach has returned
  the USB stack fetches the string descriptors in order for creating the
  event that is sent to userland. It just makes the chances of collisions
  less likely.
  
  Tested by:      Tomas Pluskal <plusik@pohoda.cz>
  
  Revision  Changes    Path
  1.58      +23 -21    src/sys/dev/usb/umass.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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