Adds support for USBAT02-based devices. A few HP cd writers came out with this chip.
A lot of flash-readers also share these ID numbers: this will be addressed in the next patch.


Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
diff -urNpX dontdiff linux-2.6.10/drivers/usb/storage/Kconfig linux-dsd/drivers/usb/storage/Kconfig
--- linux-2.6.10/drivers/usb/storage/Kconfig	2005-01-24 22:51:32.683344928 +0000
+++ linux-dsd/drivers/usb/storage/Kconfig	2005-01-24 22:25:54.000000000 +0000
@@ -90,7 +90,7 @@ config USB_STORAGE_DPCM
 	  There is a web page at <http://www.ziocorp.com/products/>.
 
 config USB_STORAGE_USBAT
-	bool "USBAT-based storage support (EXPERIMENTAL)"
+	bool "USBAT/USBAT02-based storage support (EXPERIMENTAL)"
 	depends on USB_STORAGE && EXPERIMENTAL
 	help
 	  Say Y here to include additional code to support storage devices
diff -urNpX dontdiff linux-2.6.10/drivers/usb/storage/unusual_devs.h linux-dsd/drivers/usb/storage/unusual_devs.h
--- linux-2.6.10/drivers/usb/storage/unusual_devs.h	2005-01-24 22:51:32.757333680 +0000
+++ linux-dsd/drivers/usb/storage/unusual_devs.h	2005-01-24 22:55:57.598071768 +0000
@@ -249,6 +249,14 @@ UNUSUAL_DEV(  0x04e6, 0x0101, 0x0200, 0x
 		"CD-RW Device",
 		US_SC_8020, US_PR_CB, NULL, 0),
 
+#ifdef CONFIG_USB_STORAGE_USBAT
+UNUSUAL_DEV(  0x04e6, 0x1010, 0x0000, 0x9999,
+		"SCM",
+		"SCM USBAT-02",
+		US_SC_SCSI, US_PR_SCM_ATAPI, init_usbat_hp8200e,
+		US_FL_SINGLE_LUN),
+#endif
+
 /* Reported by Bob Sass <[EMAIL PROTECTED]> -- only rev 1.33 tested */
 UNUSUAL_DEV(  0x050d, 0x0115, 0x0133, 0x0133,
 		"Belkin",

Reply via email to