Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 22:42:35 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/usb usb_device.c usb_device.h usb_generic.c usb_hub.c usb_request.c
Message-ID:  <201005122242.o4CMgnIZ088024@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
thompsa     2010-05-12 22:42:35 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          usb_device.c usb_device.h usb_generic.c 
                         usb_hub.c usb_request.c 
  Log:
  SVN rev 208008 on 2010-05-12 22:42:35Z by thompsa
  
  If a USB device is suspended and a USB set config request is issued when the
  USB enumeration lock is locked, then the USB stack fails to resume the device
  because locking the USB enumeration lock is part of the resume procedure. To
  solve this issue a new lock is introduced which only protects the suspend and
  resume callbacks, which can be dropped inside the usbd_do_request_flags()
  function, to allow suspend and resume during so-called enumeration operations.
  
  Submitted by:   Hans Petter Selasky
  
  Revision  Changes    Path
  1.61      +30 -3     src/sys/dev/usb/usb_device.c
  1.33      +3 -0      src/sys/dev/usb/usb_device.h
  1.24      +24 -4     src/sys/dev/usb/usb_generic.c
  1.36      +83 -41    src/sys/dev/usb/usb_hub.c
  1.29      +18 -6     src/sys/dev/usb/usb_request.c



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