public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH unusual device: nec usb floppy
@ 2002-10-11 13:56 Domenico Rotiroti
  0 siblings, 0 replies; only message in thread
From: Domenico Rotiroti @ 2002-10-11 13:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: Matthew Dharm

Hi,
with my compaq notebook I got an usb floppy (nec).
It works fine with usb-storage driver, but with all the
2.4 kernel I compiled it was found 8 times (LUNs 0 through 7)
as sda..sdh
Adding it to the list of unusual devices with the "SINGLE_LUN"
flag solves the problem.

Here's a small patch that do this:

--- unusual_devs.h_orig Fri Oct 11 13:05:38 2002
+++ unusual_devs.h Fri Oct 11 13:07:42 2002
@@ -65,6 +65,14 @@
   US_SC_8070, US_PR_SCM_ATAPI, init_8200e, 0),
 #endif

+/* Submitted by Domenico Rotiroti <drotiro@tiscali.it>
+ * This device needs the SINGLE_LUN flag */
+UNUSUAL_DEV(  0x0409, 0x0040, 0x0000, 0x9999,
+  "NEC",
+  "NEC USB UF000x",
+  US_SC_UFI, US_PR_CBI, NULL,
+  US_FL_SINGLE_LUN),
+
 #ifdef CONFIG_USB_STORAGE_DPCM
 UNUSUAL_DEV(  0x0436, 0x0005, 0x0100, 0x0100,
   "Microtech",



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-11 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-11 13:56 PATCH unusual device: nec usb floppy Domenico Rotiroti

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