usb.c (0612ec48762bf8712db1925b2e67246d2237ebab) usb.c (dfe0d3ba20e860d0b9a16c4c6524180b8f93be05)
1/* Driver for USB Mass Storage compliant devices
2 *
3 * $Id: usb.c,v 1.75 2002/04/22 03:39:43 mdharm Exp $
4 *
5 * Current development and maintenance by:
6 * (c) 1999-2003 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
7 *
8 * Developed with the assistance of:

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

93#include "jumpshot.h"
94#endif
95#ifdef CONFIG_USB_STORAGE_ONETOUCH
96#include "onetouch.h"
97#endif
98#ifdef CONFIG_USB_STORAGE_ALAUDA
99#include "alauda.h"
100#endif
1/* Driver for USB Mass Storage compliant devices
2 *
3 * $Id: usb.c,v 1.75 2002/04/22 03:39:43 mdharm Exp $
4 *
5 * Current development and maintenance by:
6 * (c) 1999-2003 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
7 *
8 * Developed with the assistance of:

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

93#include "jumpshot.h"
94#endif
95#ifdef CONFIG_USB_STORAGE_ONETOUCH
96#include "onetouch.h"
97#endif
98#ifdef CONFIG_USB_STORAGE_ALAUDA
99#include "alauda.h"
100#endif
101#ifdef CONFIG_USB_STORAGE_KARMA
102#include "karma.h"
103#endif
101
102/* Some informational data */
103MODULE_AUTHOR("Matthew Dharm <mdharm-usb@one-eyed-alien.net>");
104MODULE_DESCRIPTION("USB Mass Storage driver for Linux");
105MODULE_LICENSE("GPL");
106
107static unsigned int delay_use = 5;
108module_param(delay_use, uint, S_IRUGO | S_IWUSR);

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

641 case US_PR_ALAUDA:
642 us->transport_name = "Alauda Control/Bulk";
643 us->transport = alauda_transport;
644 us->transport_reset = usb_stor_Bulk_reset;
645 us->max_lun = 1;
646 break;
647#endif
648
104
105/* Some informational data */
106MODULE_AUTHOR("Matthew Dharm <mdharm-usb@one-eyed-alien.net>");
107MODULE_DESCRIPTION("USB Mass Storage driver for Linux");
108MODULE_LICENSE("GPL");
109
110static unsigned int delay_use = 5;
111module_param(delay_use, uint, S_IRUGO | S_IWUSR);

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

644 case US_PR_ALAUDA:
645 us->transport_name = "Alauda Control/Bulk";
646 us->transport = alauda_transport;
647 us->transport_reset = usb_stor_Bulk_reset;
648 us->max_lun = 1;
649 break;
650#endif
651
652#ifdef CONFIG_USB_STORAGE_KARMA
653 case US_PR_KARMA:
654 us->transport_name = "Rio Karma/Bulk";
655 us->transport = rio_karma_transport;
656 us->transport_reset = usb_stor_Bulk_reset;
657 break;
658#endif
659
649 default:
650 return -EIO;
651 }
652 US_DEBUGP("Transport: %s\n", us->transport_name);
653
654 /* fix for single-lun devices */
655 if (us->flags & US_FL_SINGLE_LUN)
656 us->max_lun = 0;

--- 441 unchanged lines hidden ---
660 default:
661 return -EIO;
662 }
663 US_DEBUGP("Transport: %s\n", us->transport_name);
664
665 /* fix for single-lun devices */
666 if (us->flags & US_FL_SINGLE_LUN)
667 us->max_lun = 0;

--- 441 unchanged lines hidden ---