cvs commit: src/sys/dev/usb umass.c
Nate Lawson
njl@FreeBSD.org
Tue Mar 25 16:21:15 PST 2003
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
More information about the cvs-src
mailing list