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

From: Nate Lawson <njl_at_FreeBSD.org>
Date: Tue, 25 Mar 2003 08:21:09 -0800 (PST)
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
Received on Tue Mar 25 2003 - 08:21:13 UTC