Date: Tue, 25 Mar 2003 08:21:09 -0800 (PST) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb umass.c Message-ID: <200303251621.h2PGL9Xk070387@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2003/03/25 08:21:09 PST
FreeBSD src repository
Modified files:
sys/dev/usb umass.c
Log:
Add code to implement two new USB quirk types: NO_INQUIRY and NO_INQUIRY_EVPD
The former fakes a valid response to an inquiry command. (I am completely
blown away that there are devices which hang upon receiving inquiry). The
latter returns "invalid request" to any inquiry commands with EVPD set.
NO_INQUIRY implies NO_INQUIRY_EVPD but not vice versa. Both quirks have been
tested separately on my USB key although it didn't require either of them.
While I'm here, fix wildcarding so that any/all of vendor, product, revision
can be wildcarded.
Idea from: Linux
MFC after: 2 weeks
Revision Changes Path
1.79 +60 -11 src/sys/dev/usb/umass.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303251621.h2PGL9Xk070387>
