Subject: Re: CVS commit: src/sys/dev/usb
To: None <mycroft@netbsd.org>
From: Takeshi Nakayama <tn@catvmics.ne.jp>
List: source-changes
Date: 09/06/2003 03:02:57
>>> "Charles M. Hannum" <mycroft@netbsd.org> wrote

> Module Name:	src
> Committed By:	mycroft
> Date:		Fri Sep  5 11:24:57 UTC 2003
> 
> Modified Files:
> 	src/sys/dev/usb: umass_quirks.c
> 
> Log Message:
> Some of the table entries are now noops.  Remove them.

Some entries need to be left.

The case of USB_PRODUCT_IODATA2_USB2SC, the following is the
interface descriptor of this device.

INTERFACE descriptor 0:
bLength=9 bDescriptorType=interface(4) bInterfaceNumber=0 bAlternateSetting=0
bNumEndpoints=2 bInterfaceClass=255 bInterfaceSubClass=6
bInterfaceProtocol=80 iInterface=0()

Unless the quirk you removed, it probes as ugen, not as umass since
bInterfaceClass is 255.

-- Takeshi Nakayama