xref: /OK3568_Linux_fs/kernel/drivers/usb/storage/unusual_datafab.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0+ */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Unusual Devices File for the Datafab USB Compact Flash reader
4*4882a593Smuzhiyun  */
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun #if defined(CONFIG_USB_STORAGE_DATAFAB) || \
7*4882a593Smuzhiyun 		defined(CONFIG_USB_STORAGE_DATAFAB_MODULE)
8*4882a593Smuzhiyun 
9*4882a593Smuzhiyun UNUSUAL_DEV(  0x07c4, 0xa000, 0x0000, 0x0015,
10*4882a593Smuzhiyun 		"Datafab",
11*4882a593Smuzhiyun 		"MDCFE-B USB CF Reader",
12*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
13*4882a593Smuzhiyun 		0),
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun /*
16*4882a593Smuzhiyun  * The following Datafab-based devices may or may not work
17*4882a593Smuzhiyun  * using the current driver...the 0xffff is arbitrary since I
18*4882a593Smuzhiyun  * don't know what device versions exist for these guys.
19*4882a593Smuzhiyun  *
20*4882a593Smuzhiyun  * The 0xa003 and 0xa004 devices in particular I'm curious about.
21*4882a593Smuzhiyun  * I'm told they exist but so far nobody has come forward to say that
22*4882a593Smuzhiyun  * they work with this driver.  Given the success we've had getting
23*4882a593Smuzhiyun  * other Datafab-based cards operational with this driver, I've decided
24*4882a593Smuzhiyun  * to leave these two devices in the list.
25*4882a593Smuzhiyun  */
26*4882a593Smuzhiyun UNUSUAL_DEV( 0x07c4, 0xa001, 0x0000, 0xffff,
27*4882a593Smuzhiyun 		"SIIG/Datafab",
28*4882a593Smuzhiyun 		"SIIG/Datafab Memory Stick+CF Reader/Writer",
29*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
30*4882a593Smuzhiyun 		0),
31*4882a593Smuzhiyun 
32*4882a593Smuzhiyun /* Reported by Josef Reisinger <josef.reisinger@netcologne.de> */
33*4882a593Smuzhiyun UNUSUAL_DEV( 0x07c4, 0xa002, 0x0000, 0xffff,
34*4882a593Smuzhiyun 		"Datafab/Unknown",
35*4882a593Smuzhiyun 		"MD2/MD3 Disk enclosure",
36*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
37*4882a593Smuzhiyun 		US_FL_SINGLE_LUN),
38*4882a593Smuzhiyun 
39*4882a593Smuzhiyun UNUSUAL_DEV( 0x07c4, 0xa003, 0x0000, 0xffff,
40*4882a593Smuzhiyun 		"Datafab/Unknown",
41*4882a593Smuzhiyun 		"Datafab-based Reader",
42*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
43*4882a593Smuzhiyun 		0),
44*4882a593Smuzhiyun 
45*4882a593Smuzhiyun UNUSUAL_DEV( 0x07c4, 0xa004, 0x0000, 0xffff,
46*4882a593Smuzhiyun 		"Datafab/Unknown",
47*4882a593Smuzhiyun 		"Datafab-based Reader",
48*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
49*4882a593Smuzhiyun 		0),
50*4882a593Smuzhiyun 
51*4882a593Smuzhiyun UNUSUAL_DEV( 0x07c4, 0xa005, 0x0000, 0xffff,
52*4882a593Smuzhiyun 		"PNY/Datafab",
53*4882a593Smuzhiyun 		"PNY/Datafab CF+SM Reader",
54*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
55*4882a593Smuzhiyun 		0),
56*4882a593Smuzhiyun 
57*4882a593Smuzhiyun UNUSUAL_DEV( 0x07c4, 0xa006, 0x0000, 0xffff,
58*4882a593Smuzhiyun 		"Simple Tech/Datafab",
59*4882a593Smuzhiyun 		"Simple Tech/Datafab CF+SM Reader",
60*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
61*4882a593Smuzhiyun 		0),
62*4882a593Smuzhiyun 
63*4882a593Smuzhiyun /* Submitted by Olaf Hering <olh@suse.de> */
64*4882a593Smuzhiyun UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,
65*4882a593Smuzhiyun 		"Datafab Systems, Inc.",
66*4882a593Smuzhiyun 		"USB to CF + SM Combo (LC1)",
67*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
68*4882a593Smuzhiyun 		0),
69*4882a593Smuzhiyun 
70*4882a593Smuzhiyun /*
71*4882a593Smuzhiyun  * Reported by Felix Moeller <felix@derklecks.de>
72*4882a593Smuzhiyun  * in Germany this is sold by Hama with the productnumber 46952
73*4882a593Smuzhiyun  * as "DualSlot CompactFlash(TM) & MStick Drive USB"
74*4882a593Smuzhiyun  */
75*4882a593Smuzhiyun UNUSUAL_DEV(  0x07c4, 0xa10b, 0x0000, 0xffff,
76*4882a593Smuzhiyun 		"DataFab Systems Inc.",
77*4882a593Smuzhiyun 		"USB CF+MS",
78*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
79*4882a593Smuzhiyun 		0),
80*4882a593Smuzhiyun 
81*4882a593Smuzhiyun UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xffff,
82*4882a593Smuzhiyun 		"Acomdata",
83*4882a593Smuzhiyun 		"CF",
84*4882a593Smuzhiyun 		USB_SC_SCSI, USB_PR_DATAFAB, NULL,
85*4882a593Smuzhiyun 		US_FL_SINGLE_LUN),
86*4882a593Smuzhiyun 
87*4882a593Smuzhiyun #endif /* defined(CONFIG_USB_STORAGE_DATAFAB) || ... */
88