DragonFly BSD
DragonFly commits List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/dev/usbmisc/umass


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Sep 2004 18:38:13 -0700 (PDT)

dillon      2004/09/14 18:38:13 PDT

DragonFly src repository

  Modified files:
    sys/dev/usbmisc/umass umass.c 
  Log:
  When a umass storage device is unplugged there might be pending requests
  which either fail or wind up in limbo.  The state machine will attempt to
  issue a BBB RESET, but since this does not occur on our bulk or interrupt
  pipes simply aborting the pipes is not sufficient to ensure that all of our
  xfer requests have been idled.
  
  We must also wait for any in-progress RESET's to complete, which is
  accomplished by testing sc->transfer_state.  Otherwise we may wind up
  freeing an active xfer request and blow up.
  
  Revision  Changes    Path
  1.13      +19 -0     src/sys/dev/usbmisc/umass/umass.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/umass/umass.c.diff?r1=1.12&r2=1.13&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]