aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/unusual_devs.h
diff options
context:
space:
mode:
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>2005-12-05 00:57:51 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 16:51:41 -0500
commitf5b8cb9c91f2f7d54dc3f066db8d4e0f041de79b (patch)
tree87c0ffd6678cffdd5d9c9425d8f8432ceebc1c33 /drivers/usb/storage/unusual_devs.h
parent7931e1c6f8007d5fef8a0bb2dc71bd97315eeae9 (diff)
[PATCH] USB Storage: cleanups of sddr09
This is the first of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as594) straightens out the initialization procedures and headers: Some ugly code from usb.c was moved into sddr09.c. Set-up of the private data structures was moved into the initialization routine. The connection between the "dpcm" version and the standalone version was clarified. A private declaration was moved from a header file into the subdriver's .c file. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Andries Brouwer <Andries.Brouwer@cwi.nl> Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/unusual_devs.h')
-rw-r--r--drivers/usb/storage/unusual_devs.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 100f53c2097e..be3c06d17533 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -284,14 +284,14 @@ UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
284UNUSUAL_DEV( 0x04e6, 0x0003, 0x0000, 0x9999, 284UNUSUAL_DEV( 0x04e6, 0x0003, 0x0000, 0x9999,
285 "Sandisk", 285 "Sandisk",
286 "ImageMate SDDR09", 286 "ImageMate SDDR09",
287 US_SC_SCSI, US_PR_EUSB_SDDR09, NULL, 287 US_SC_SCSI, US_PR_EUSB_SDDR09, usb_stor_sddr09_init,
288 US_FL_SINGLE_LUN ), 288 0),
289 289
290/* This entry is from Andries.Brouwer@cwi.nl */ 290/* This entry is from Andries.Brouwer@cwi.nl */
291UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208, 291UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
292 "SCM Microsystems", 292 "SCM Microsystems",
293 "eUSB SmartMedia / CompactFlash Adapter", 293 "eUSB SmartMedia / CompactFlash Adapter",
294 US_SC_SCSI, US_PR_DPCM_USB, sddr09_init, 294 US_SC_SCSI, US_PR_DPCM_USB, usb_stor_sddr09_dpcm_init,
295 0), 295 0),
296#endif 296#endif
297 297
@@ -681,8 +681,8 @@ UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
681UNUSUAL_DEV( 0x066b, 0x0105, 0x0100, 0x0100, 681UNUSUAL_DEV( 0x066b, 0x0105, 0x0100, 0x0100,
682 "Olympus", 682 "Olympus",
683 "Camedia MAUSB-2", 683 "Camedia MAUSB-2",
684 US_SC_SCSI, US_PR_EUSB_SDDR09, NULL, 684 US_SC_SCSI, US_PR_EUSB_SDDR09, usb_stor_sddr09_init,
685 US_FL_SINGLE_LUN ), 685 0),
686#endif 686#endif
687 687
688/* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */ 688/* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
@@ -747,8 +747,8 @@ UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
747UNUSUAL_DEV( 0x0781, 0x0200, 0x0000, 0x9999, 747UNUSUAL_DEV( 0x0781, 0x0200, 0x0000, 0x9999,
748 "Sandisk", 748 "Sandisk",
749 "ImageMate SDDR-09", 749 "ImageMate SDDR-09",
750 US_SC_SCSI, US_PR_EUSB_SDDR09, NULL, 750 US_SC_SCSI, US_PR_EUSB_SDDR09, usb_stor_sddr09_init,
751 US_FL_SINGLE_LUN ), 751 0),
752#endif 752#endif
753 753
754#ifdef CONFIG_USB_STORAGE_FREECOM 754#ifdef CONFIG_USB_STORAGE_FREECOM