Greg,

This patch adds entries for several USB floppies that need
the US_FL_SINGLE_LUN flag. These were reported by
Sebastian Kapfer <[EMAIL PROTECTED]> and Olaf Hering
<[EMAIL PROTECTED]>, with rediffing and cleaning from me.

NOTE: This is a re-do of the previous pd32 patch which should be discarded!

Reported-by: Sebastian Kapfer <[EMAIL PROTECTED]>
Reported-by: Olaf Hering <[EMAIL PROTECTED]>
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

DESC
[PATCH pd32] Add unusual_dev SINGLE_LUN entries
DESC

This patch adds entries for several USB floppies that need
the US_FL_SINGLE_LUN flag. These were reported by
Sebastian Kapfer <[EMAIL PROTECTED]> and Olaf Hering
<[EMAIL PROTECTED]>, with rediffing and cleaning from me.

Reported-by: Sebastian Kapfer <[EMAIL PROTECTED]>
Reported-by: Olaf Hering <[EMAIL PROTECTED]>
Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]>

---


diff -puN drivers/usb/storage/unusual_devs.h~unusual_usbfloppies drivers/usb/storage/unusual_devs.h
--- linux-2.6.13/drivers/usb/storage/unusual_devs.h~unusual_usbfloppies	2005-08-29 22:34:03.000000000 -0700
+++ linux-2.6.13-phil/drivers/usb/storage/unusual_devs.h	2005-08-29 22:35:57.000000000 -0700
@@ -79,6 +79,16 @@ UNUSUAL_DEV(  0x03f0, 0x0307, 0x0001, 0x
 		US_SC_8070, US_PR_SCM_ATAPI, init_usbat, 0), 
 #endif
 
+/* Reported by Sebastian Kapfer <[EMAIL PROTECTED]>
+ * and Olaf Hering <[EMAIL PROTECTED]> (different bcd's, same vendor/product)
+ * for USB floppies that need the SINGLE_LUN enforcement.
+ */
+UNUSUAL_DEV(  0x0409, 0x0040, 0x0000, 0x9999,
+		"NEC",
+		"NEC USB UF000x",
+		US_SC_DEVICE, US_PR_DEVICE, NULL,
+		US_FL_SINGLE_LUN ),
+
 /* Deduced by Jonathan Woithe <[EMAIL PROTECTED]>
  * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
  * always fails and confuses drive.
@@ -89,6 +99,13 @@ UNUSUAL_DEV(  0x0411, 0x001c, 0x0113, 0x
 		US_SC_DEVICE, US_PR_DEVICE, NULL,
 		US_FL_FIX_INQUIRY ),
 
+/* Reported by Olaf Hering <[EMAIL PROTECTED]> from novell bug #105878 */
+UNUSUAL_DEV(  0x0424, 0x0fdc, 0x0210, 0x0210,
+		"SMSC",
+		"FDC GOLD-2.30",
+		US_SC_DEVICE, US_PR_DEVICE, NULL,
+		US_FL_SINGLE_LUN ),
+
 #ifdef CONFIG_USB_STORAGE_DPCM
 UNUSUAL_DEV(  0x0436, 0x0005, 0x0100, 0x0100,
 		"Microtech",
_

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to