From 5106614dc004d47dd3b53b7a31796676ff034177 Mon Sep 17 00:00:00 2001 From: Alan Stern Date: Sun, 8 Feb 2004 20:17:18 -0800 Subject: [PATCH] [PATCH] USB: fix unneeded SubClass entry in unusual_devs.h 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 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h index 17d64969ff317..3d85c0aafc233 100644 --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h @@ -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 -- 2.53.0