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