Date: Mon, 17 May 2010 23:45:31 +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: <201005172350.o4HNogBJ014510@repoman.freebsd.org>
index | next in thread | raw e-mail
thompsa 2010-05-17 23:45:31 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/usb usb_device.c usb_device.h usb_generic.c
usb_hub.c usb_request.c
Log:
SVN rev 208221 on 2010-05-17 23:45:31Z by thompsa
MFC r208008
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.
Revision Changes Path
1.44.2.17 +30 -3 src/sys/dev/usb/usb_device.c
1.27.2.7 +3 -0 src/sys/dev/usb/usb_device.h
1.20.2.5 +24 -4 src/sys/dev/usb/usb_generic.c
1.28.2.9 +83 -41 src/sys/dev/usb/usb_hub.c
1.24.2.6 +18 -6 src/sys/dev/usb/usb_request.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005172350.o4HNogBJ014510>
