]> git.hungrycats.org Git - linux/commitdiff
[PATCH] USB: fix unneeded SubClass entry in unusual_devs.h
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 9 Feb 2004 04:17:18 +0000 (20:17 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 9 Feb 2004 04:17:18 +0000 (20:17 -0800)
On Sat, 7 Feb 2004, Brendan Arthurs wrote:

> I'm getting the following message when I power on my USB external
> enclosure (a MAP-K51U) with a Maxtor IDE hard drive in it. I'm running
> kernel 2.6.2. Hope this is of some use to you.
>
> Feb  7 11:03:13 europa kernel: hub 4-0:1.0: new USB device on port 2,
> assigned address 2
> Feb  7 11:03:13 europa kernel: usb 4-2: Product: USB Mass Storage
> Device
> Feb  7 11:03:13 europa kernel: usb 4-2: Manufacturer: Genesyslogic
> Feb  7 11:03:13 europa kernel: usb-storage: This device
> (05e3,0701,0002 S 06 P 50) has an unneeded SubClass entry in
> unusual_devs.h
> Feb  7 11:03:13 europa kernel:    Please send a copy of this message
> to <linux-usb-devel@lists.sourceforge.net>

Thank you for sending this in.  Here's a patch to take care of it.
Alexander, does this work for you?

drivers/usb/storage/unusual_devs.h

index 17d64969ff317a8ad67feaafeb55a85eefb575f5..3d85c0aafc2332337e93cd2789bec0d7c5f86115 100644 (file)
@@ -377,7 +377,7 @@ UNUSUAL_DEV(  0x05e3, 0x0700, 0x0000, 0xffff,
 UNUSUAL_DEV(  0x05e3, 0x0701, 0x0000, 0xffff, 
                "", 
                "USB TO IDE",
-               US_SC_SCSI, US_PR_DEVICE, NULL,
+               US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_MODE_XLATE ), 
 
 /* Reported by Peter Marks <peter.marks@turner.com>