Date: Tue, 20 Oct 2009 21:29:46 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/usb/storage umass.c Message-ID: <200910202130.n9KLU8T5016394@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
thompsa 2009-10-20 21:29:46 UTC FreeBSD src repository Modified files: sys/dev/usb/storage umass.c Log: SVN rev 198307 on 2009-10-20 21:29:46Z by thompsa Change from CAM_TID_INVALID to CAM_SEL_TIMEOUT error code when the usb device has been yanked, this works around a cam recounting bug when CAM_DEV_UNCONFIGURED is set late in the detach. In certain conditions the reference to the XPT device would not be released which would cause the usb explore thread to sleep forever on "simfree", preventing any new usb devices to be found/ejected on the bus. This is intended to be a quick workaround to the problem without touching CAM so it can be merged to 8.0. Suggested by: mav MFC after: 3 days Revision Changes Path 1.25 +3 -2 src/sys/dev/usb/storage/umass.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910202130.n9KLU8T5016394>