cvs commit: src/sys/dev/usb umass.c

Poul-Henning Kamp phk@phk.freebsd.dk
Tue Mar 25 17:10:09 PST 2003


In message <200303251621.h2PGL9Xk070387@repoman.freebsd.org>, Nate Lawson write
s:
>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.

Isn't it time we started loading the quirk table with a userland utility ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list