public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] unusual_devs.h, kernel 2.6.15.6
@ 2006-04-04 14:15 Denis Sunko
  2006-04-05 20:54 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Sunko @ 2006-04-04 14:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, greg, david

This patch adds an UNUSUAL_DEV entry which prevents a particular usb
drive from flooding the console with useless SCSI messages. It is
patterned after similar ones for other manufacturers. I also took the
opportunity to correct the order of entries, manufacturer 0x0451 was
out of order.

I thank David Härdeman for help with this one.

Denis Sunko

--- linux-2.6.15.6-vanilla/drivers/usb/storage/unusual_devs.h	2006-04-04 14:15:10.000000000 +0200
+++ linux-2.6.15.6-patched/drivers/usb/storage/unusual_devs.h	2006-04-04 14:07:39.000000000 +0200
@@ -127,6 +127,14 @@
  		US_SC_SCSI, US_PR_DPCM_USB, NULL, 0 ),
 #endif
 
+/* Patch submitted by Daniel Drake <dsd@gentoo.org>
+ * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
+UNUSUAL_DEV(  0x0451, 0x5416, 0x0100, 0x0100,
+		"Neuros Audio",
+		"USB 2.0 HD 2.5",
+		US_SC_DEVICE, US_PR_BULK, NULL,
+		US_FL_NEED_OVERRIDE ),
+
 /*
  * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
  * The key does not actually break, but it returns zero sense which
@@ -137,13 +145,14 @@
 		"USB Mass Storage Device",
 		US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
 
-/* Patch submitted by Daniel Drake <dsd@gentoo.org>
- * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
-UNUSUAL_DEV(  0x0451, 0x5416, 0x0100, 0x0100,
-		"Neuros Audio",
-		"USB 2.0 HD 2.5",
-		US_SC_DEVICE, US_PR_BULK, NULL,
-		US_FL_NEED_OVERRIDE ),
+/*
+ * Denis Sunko <nim4daz@yahoo.com>
+ * The key makes the SCSI stack print confusing (but harmless) messages
+ */
+UNUSUAL_DEV(  0x0457, 0x0151, 0x0100, 0x0100,
+		"Silicon Integrated Systems Corp.",
+		"Drive UT_USB20",
+		US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
 
 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
 UNUSUAL_DEV(  0x0482, 0x0100, 0x0100, 0x0100,


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] unusual_devs.h, kernel 2.6.15.6
  2006-04-04 14:15 [PATCH] unusual_devs.h, kernel 2.6.15.6 Denis Sunko
@ 2006-04-05 20:54 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2006-04-05 20:54 UTC (permalink / raw)
  To: Denis Sunko; +Cc: linux-kernel, akpm, david

On Tue, Apr 04, 2006 at 07:15:20AM -0700, Denis Sunko wrote:
> This patch adds an UNUSUAL_DEV entry which prevents a particular usb
> drive from flooding the console with useless SCSI messages. It is
> patterned after similar ones for other manufacturers. I also took the
> opportunity to correct the order of entries, manufacturer 0x0451 was
> out of order.
> 
> I thank David H?rdeman for help with this one.

This has already been submitted, sorry, someone beat you :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-05 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-04 14:15 [PATCH] unusual_devs.h, kernel 2.6.15.6 Denis Sunko
2006-04-05 20:54 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox