Here's a patch to remove the three Genesys disk entries in
unusual_devs.

They don't appear to be needed anymore because:
1. The inquiries now request the right amount of data
2. MODE_XLATE, according to Alan, isn't used in 2.6

This was tested by Alan Stern, and posted for testing on usb-storage list.

Greg, please apply.

Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]>

--
Phil Dibowitz                             [EMAIL PROTECTED]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759

Here's a patch to remove the three Genesys disk entries in
unusual_devs.

They don't appear to be needed anymore because:
1. The inquiries now request the right amount of data
2. MODE_XLATE, according to Alan, isn't used in 2.6

Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]>

---


diff -puN drivers/usb/storage/unusual_devs.h~unusual_genesys drivers/usb/storage/unusual_devs.h
--- linux-2.6.9-rc1/drivers/usb/storage/unusual_devs.h~unusual_genesys	2004-10-10 16:25:07.000000000 -0700
+++ linux-2.6.9-rc1-phil/drivers/usb/storage/unusual_devs.h	2004-10-10 16:25:07.000000000 -0700
@@ -439,36 +439,6 @@ UNUSUAL_DEV(  0x05dc, 0xb002, 0x0000, 0x
 		US_SC_DEVICE, US_PR_DEVICE, NULL,
 		US_FL_FIX_INQUIRY ),
 
-/* Reported by Carlos Villegas <[EMAIL PROTECTED]>
- * This device needs an INQUIRY of exactly 36-bytes to function.
- * That is the only reason this entry is needed.
- */
-UNUSUAL_DEV(  0x05e3, 0x0700, 0x0000, 0xffff,
-		"Genesys Logic",
-		"USB to IDE Card Reader",
-		US_SC_DEVICE, US_PR_DEVICE, NULL,
-		US_FL_FIX_INQUIRY ),
-
-/* Submitted Alexander Oltu <[EMAIL PROTECTED]> */
-UNUSUAL_DEV(  0x05e3, 0x0701, 0x0000, 0xffff, 
-		"Genesys Logic", 
-		"USB to IDE Optical",
-		US_SC_DEVICE, US_PR_DEVICE, NULL,
-		US_FL_MODE_XLATE ), 
-
-/* Reported by Peter Marks <[EMAIL PROTECTED]>
- * Like the SIIG unit above, this unit needs an INQUIRY to ask for exactly
- * 36 bytes of data.  No more, no less. That is the only reason this entry
- * is needed.
- *
- * ST818 slim drives (rev 0.02) don't need special care.
-*/
-UNUSUAL_DEV(  0x05e3, 0x0702, 0x0000, 0xffff,
-		"Genesys Logic",
-		"USB to IDE Disk",
-		US_SC_DEVICE, US_PR_DEVICE, NULL,
-		US_FL_FIX_INQUIRY ),
-
 /* Reported by Hanno Boeck <[EMAIL PROTECTED]>
  * Taken from the Lycoris Kernel */
 UNUSUAL_DEV(  0x0636, 0x0003, 0x0000, 0x9999,
_

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to