Hi,

Phil noted a few day ago that the ranges are bcd and not hex. So the maxmimum should be 0x9999 instead of 0xffff.

Because I made a wrong patch just a few days ago, I went ahead and corrected all the values in unusual_devs.h

This patch is based against 2.6.12-rc2-mm3.

greetings
Felix
--- unusual_devs.h.orig 2005-04-13 20:51:53.310847795 +0200
+++ unusual_devs.h      2005-04-13 20:53:00.781220774 +0200
@@ -552,13 +552,13 @@ UNUSUAL_DEV(  0x05dc, 0xb002, 0x0000, 0x
  * <[EMAIL PROTECTED]> and Peter Marks <[EMAIL PROTECTED]>
  * respectively.
  */
-UNUSUAL_DEV(  0x05e3, 0x0701, 0x0000, 0xffff,
+UNUSUAL_DEV(  0x05e3, 0x0701, 0x0000, 0x9999,
                "Genesys Logic",
                "USB to IDE Optical",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_GO_SLOW ),
 
-UNUSUAL_DEV(  0x05e3, 0x0702, 0x0000, 0xffff,
+UNUSUAL_DEV(  0x05e3, 0x0702, 0x0000, 0x9999,
                "Genesys Logic",
                "USB to IDE Disk",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
@@ -690,7 +690,7 @@ UNUSUAL_DEV(  0x07c4, 0xa000, 0x0000, 0x
 
 /*
  * The following Datafab-based devices may or may not work
- * using the current driver...the 0xffff is arbitrary since I
+ * using the current driver...the 0x9999 is arbitrary since I
  * don't know what device versions exist for these guys.
  *
  * The 0xa003 and 0xa004 devices in particular I'm curious about.
@@ -699,38 +699,38 @@ UNUSUAL_DEV(  0x07c4, 0xa000, 0x0000, 0x
  * other Datafab-based cards operational with this driver, I've decided
  * to leave these two devices in the list.
  */
-UNUSUAL_DEV( 0x07c4, 0xa001, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x07c4, 0xa001, 0x0000, 0x9999,
                "SIIG/Datafab",
                "SIIG/Datafab Memory Stick+CF Reader/Writer",
                US_SC_SCSI, US_PR_DATAFAB, NULL,
                0 ),
 
 /* Reported by Josef Reisinger <[EMAIL PROTECTED]> */
-UNUSUAL_DEV( 0x07c4, 0xa002, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x07c4, 0xa002, 0x0000, 0x9999,
                "Datafab/Unknown",
                "MD2/MD3 Disk enclosure",
                US_SC_SCSI, US_PR_DATAFAB, NULL,
                US_FL_SINGLE_LUN ),
 
-UNUSUAL_DEV( 0x07c4, 0xa003, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x07c4, 0xa003, 0x0000, 0x9999,
                "Datafab/Unknown",
                "Datafab-based Reader",
                US_SC_SCSI, US_PR_DATAFAB, NULL,
                0 ),
 
-UNUSUAL_DEV( 0x07c4, 0xa004, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x07c4, 0xa004, 0x0000, 0x9999,
                "Datafab/Unknown",
                "Datafab-based Reader",
                US_SC_SCSI, US_PR_DATAFAB, NULL,
                0 ),
 
-UNUSUAL_DEV( 0x07c4, 0xa005, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x07c4, 0xa005, 0x0000, 0x9999,
                "PNY/Datafab",
                "PNY/Datafab CF+SM Reader",
                US_SC_SCSI, US_PR_DATAFAB, NULL,
                0 ),
 
-UNUSUAL_DEV( 0x07c4, 0xa006, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x07c4, 0xa006, 0x0000, 0x9999,
                "Simple Tech/Datafab",
                "Simple Tech/Datafab CF+SM Reader",
                US_SC_SCSI, US_PR_DATAFAB, NULL,
@@ -748,7 +748,7 @@ UNUSUAL_DEV( 0x07c4, 0xa103, 0x0000, 0x9
 
 #ifdef CONFIG_USB_STORAGE_DATAFAB
 /* Submitted by Olaf Hering <[EMAIL PROTECTED]> */
-UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,
+UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0x9999,
                "Datafab Systems, Inc.",
                "USB to CF + SM Combo (LC1)",
                US_SC_SCSI, US_PR_DATAFAB, NULL,
@@ -756,7 +756,7 @@ UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0x
 #endif
 #ifdef CONFIG_USB_STORAGE_SDDR55
 /* SM part - aeb <[EMAIL PROTECTED]> */
-UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,
+UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0x9999,
                "Datafab Systems, Inc.",
                "USB to CF + SM Combo (LC1)",
                US_SC_SCSI, US_PR_SDDR55, NULL,
@@ -768,7 +768,7 @@ UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0x
  * in Germany this is sold by Hama with the productnumber 46952
  * as "DualSlot CompactFlash(TM) & MStick Drive USB"
  */
-UNUSUAL_DEV(  0x07c4, 0xa10b, 0x0000, 0xffff,
+UNUSUAL_DEV(  0x07c4, 0xa10b, 0x0000, 0x9999,
                 "DataFab Systems Inc.",
                 "USB CF+MS",
                 US_SC_SCSI, US_PR_DATAFAB, NULL,
@@ -782,7 +782,7 @@ UNUSUAL_DEV(  0x07c4, 0xa10b, 0x0000, 0x
  * Submitted by Marek Michalkiewicz <[EMAIL PROTECTED]>.
  * See also http://martin.wilck.bei.t-online.de/#kecf .
  */
-UNUSUAL_DEV(  0x07c4, 0xa400, 0x0000, 0xffff,
+UNUSUAL_DEV(  0x07c4, 0xa400, 0x0000, 0x9999,
                "Datafab",
                "KECF-USB",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
@@ -844,7 +844,7 @@ UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9
                0 ),
 
 /* aeb */
-UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0x9999,
                "Feiya",
                "5-in-1 Card Reader",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
@@ -865,7 +865,7 @@ UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1
 
 
 /* Submitted by Per Winkvist <[EMAIL PROTECTED]> */
-UNUSUAL_DEV( 0x0a17, 0x006, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x0a17, 0x006, 0x0000, 0x9999,
                 "Pentax",
                 "Optio S/S4",
                 US_SC_DEVICE, US_PR_DEVICE, NULL,
@@ -880,14 +880,14 @@ UNUSUAL_DEV(  0x0bf6, 0xa001, 0x0100, 0x
 #endif
 
 #ifdef CONFIG_USB_STORAGE_DATAFAB
-UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0x9999,
               "Acomdata",
               "CF",
               US_SC_SCSI, US_PR_DATAFAB, NULL,
               US_FL_SINGLE_LUN ),
 #endif
 #ifdef CONFIG_USB_STORAGE_SDDR55
-UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0x9999,
               "Acomdata",
               "SM",
               US_SC_SCSI, US_PR_SDDR55, NULL,
@@ -895,7 +895,7 @@ UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xf
 #endif
 
 /* Submitted by Joris Struyve <[EMAIL PROTECTED]> */
-UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
+UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0x9999,
                "Medion",
                "MD 7425",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
@@ -916,7 +916,7 @@ UNUSUAL_DEV(  0x0d96, 0x5200, 0x0001, 0x
  * works for me. Can anybody correct these values? (I able to test corrected
  * version.)
  */
-UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
+UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0x9999,
                "Netac",
                "USB-CF-Card",
                US_SC_DEVICE, US_PR_DEVICE, NULL,

Reply via email to