usb.c (26d6818f19d0ab018f28a20d699511c1efdf508b) usb.c (0d62939fab3cf28a23ac6934cec599793d3a1d9d)
1/* Driver for USB Mass Storage compliant devices
2 *
3 * Current development and maintenance by:
4 * (c) 1999-2003 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
5 *
6 * Developed with the assistance of:
7 * (c) 2000 David L. Brown, Jr. (usb-storage@davidb.org)
8 * (c) 2003-2009 Alan Stern (stern@rowland.harvard.edu)

--- 52 unchanged lines hidden (view full) ---

61
62#include "usb.h"
63#include "scsiglue.h"
64#include "transport.h"
65#include "protocol.h"
66#include "debug.h"
67#include "initializers.h"
68
1/* Driver for USB Mass Storage compliant devices
2 *
3 * Current development and maintenance by:
4 * (c) 1999-2003 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
5 *
6 * Developed with the assistance of:
7 * (c) 2000 David L. Brown, Jr. (usb-storage@davidb.org)
8 * (c) 2003-2009 Alan Stern (stern@rowland.harvard.edu)

--- 52 unchanged lines hidden (view full) ---

61
62#include "usb.h"
63#include "scsiglue.h"
64#include "transport.h"
65#include "protocol.h"
66#include "debug.h"
67#include "initializers.h"
68
69#ifdef CONFIG_USB_STORAGE_FREECOM
70#include "freecom.h"
71#endif
72#ifdef CONFIG_USB_STORAGE_DATAFAB
73#include "datafab.h"
74#endif
75#ifdef CONFIG_USB_STORAGE_JUMPSHOT
76#include "jumpshot.h"
77#endif
78#ifdef CONFIG_USB_STORAGE_ONETOUCH
79#include "onetouch.h"

--- 522 unchanged lines hidden (view full) ---

602 break;
603
604 case US_PR_BULK:
605 us->transport_name = "Bulk";
606 us->transport = usb_stor_Bulk_transport;
607 us->transport_reset = usb_stor_Bulk_reset;
608 break;
609
69#ifdef CONFIG_USB_STORAGE_DATAFAB
70#include "datafab.h"
71#endif
72#ifdef CONFIG_USB_STORAGE_JUMPSHOT
73#include "jumpshot.h"
74#endif
75#ifdef CONFIG_USB_STORAGE_ONETOUCH
76#include "onetouch.h"

--- 522 unchanged lines hidden (view full) ---

599 break;
600
601 case US_PR_BULK:
602 us->transport_name = "Bulk";
603 us->transport = usb_stor_Bulk_transport;
604 us->transport_reset = usb_stor_Bulk_reset;
605 break;
606
610#ifdef CONFIG_USB_STORAGE_FREECOM
611 case US_PR_FREECOM:
612 us->transport_name = "Freecom";
613 us->transport = freecom_transport;
614 us->transport_reset = usb_stor_freecom_reset;
615 us->max_lun = 0;
616 break;
617#endif
618
619#ifdef CONFIG_USB_STORAGE_DATAFAB
620 case US_PR_DATAFAB:
621 us->transport_name = "Datafab Bulk-Only";
622 us->transport = datafab_transport;
623 us->transport_reset = usb_stor_Bulk_reset;
624 us->max_lun = 1;
625 break;
626#endif

--- 492 unchanged lines hidden ---
607#ifdef CONFIG_USB_STORAGE_DATAFAB
608 case US_PR_DATAFAB:
609 us->transport_name = "Datafab Bulk-Only";
610 us->transport = datafab_transport;
611 us->transport_reset = usb_stor_Bulk_reset;
612 us->max_lun = 1;
613 break;
614#endif

--- 492 unchanged lines hidden ---