-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb-storage: make datafab a separate module
This patch (as1213) converts usb-storage's datafab subdriver into a separate module. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information
Alan Stern
authored and
Greg Kroah-Hartman
committed
Mar 24, 2009
1 parent
0d62939
commit 2cbbf35
Showing
8 changed files
with
202 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
/* Unusual Devices File for the Datafab USB Compact Flash reader | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the | ||
* Free Software Foundation; either version 2, or (at your option) any | ||
* later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along | ||
* with this program; if not, write to the Free Software Foundation, Inc., | ||
* 675 Mass Ave, Cambridge, MA 02139, USA. | ||
*/ | ||
|
||
#if defined(CONFIG_USB_STORAGE_DATAFAB) || \ | ||
defined(CONFIG_USB_STORAGE_DATAFAB_MODULE) | ||
|
||
UNUSUAL_DEV( 0x07c4, 0xa000, 0x0000, 0x0015, | ||
"Datafab", | ||
"MDCFE-B USB CF Reader", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
0), | ||
|
||
/* | ||
* The following Datafab-based devices may or may not work | ||
* using the current driver...the 0xffff 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. | ||
* I'm told they exist but so far nobody has come forward to say that | ||
* they work with this driver. Given the success we've had getting | ||
* 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, | ||
"SIIG/Datafab", | ||
"SIIG/Datafab Memory Stick+CF Reader/Writer", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
0), | ||
|
||
/* Reported by Josef Reisinger <josef.reisinger@netcologne.de> */ | ||
UNUSUAL_DEV( 0x07c4, 0xa002, 0x0000, 0xffff, | ||
"Datafab/Unknown", | ||
"MD2/MD3 Disk enclosure", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
US_FL_SINGLE_LUN), | ||
|
||
UNUSUAL_DEV( 0x07c4, 0xa003, 0x0000, 0xffff, | ||
"Datafab/Unknown", | ||
"Datafab-based Reader", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
0), | ||
|
||
UNUSUAL_DEV( 0x07c4, 0xa004, 0x0000, 0xffff, | ||
"Datafab/Unknown", | ||
"Datafab-based Reader", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
0), | ||
|
||
UNUSUAL_DEV( 0x07c4, 0xa005, 0x0000, 0xffff, | ||
"PNY/Datafab", | ||
"PNY/Datafab CF+SM Reader", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
0), | ||
|
||
UNUSUAL_DEV( 0x07c4, 0xa006, 0x0000, 0xffff, | ||
"Simple Tech/Datafab", | ||
"Simple Tech/Datafab CF+SM Reader", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
0), | ||
|
||
/* Submitted by Olaf Hering <olh@suse.de> */ | ||
UNUSUAL_DEV( 0x07c4, 0xa109, 0x0000, 0xffff, | ||
"Datafab Systems, Inc.", | ||
"USB to CF + SM Combo (LC1)", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
0), | ||
|
||
/* Reported by Felix Moeller <felix@derklecks.de> | ||
* in Germany this is sold by Hama with the productnumber 46952 | ||
* as "DualSlot CompactFlash(TM) & MStick Drive USB" | ||
*/ | ||
UNUSUAL_DEV( 0x07c4, 0xa10b, 0x0000, 0xffff, | ||
"DataFab Systems Inc.", | ||
"USB CF+MS", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
0), | ||
|
||
UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xffff, | ||
"Acomdata", | ||
"CF", | ||
US_SC_SCSI, US_PR_DATAFAB, NULL, | ||
US_FL_SINGLE_LUN), | ||
|
||
#endif /* defined(CONFIG_USB_STORAGE_DATAFAB) || ... */ |
Oops, something went wrong.