xref: /linux/drivers/usb/storage/initializers.h (revision d853d872c14b9adc4adad29e56cd378b291f86e0)
11da177e4SLinus Torvalds /* Header file for Special Initializers for certain USB Mass Storage devices
21da177e4SLinus Torvalds  *
31da177e4SLinus Torvalds  * $Id: initializers.h,v 1.1 2000/08/29 23:07:02 mdharm Exp $
41da177e4SLinus Torvalds  *
51da177e4SLinus Torvalds  * Current development and maintenance by:
61da177e4SLinus Torvalds  *   (c) 1999, 2000 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
71da177e4SLinus Torvalds  *
81da177e4SLinus Torvalds  * This driver is based on the 'USB Mass Storage Class' document. This
91da177e4SLinus Torvalds  * describes in detail the protocol used to communicate with such
101da177e4SLinus Torvalds  * devices.  Clearly, the designers had SCSI and ATAPI commands in
111da177e4SLinus Torvalds  * mind when they created this document.  The commands are all very
121da177e4SLinus Torvalds  * similar to commands in the SCSI-II and ATAPI specifications.
131da177e4SLinus Torvalds  *
141da177e4SLinus Torvalds  * It is important to note that in a number of cases this class
151da177e4SLinus Torvalds  * exhibits class-specific exemptions from the USB specification.
161da177e4SLinus Torvalds  * Notably the usage of NAK, STALL and ACK differs from the norm, in
171da177e4SLinus Torvalds  * that they are used to communicate wait, failed and OK on commands.
181da177e4SLinus Torvalds  *
191da177e4SLinus Torvalds  * Also, for certain devices, the interrupt endpoint is used to convey
201da177e4SLinus Torvalds  * status of a command.
211da177e4SLinus Torvalds  *
221da177e4SLinus Torvalds  * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more
231da177e4SLinus Torvalds  * information about this driver.
241da177e4SLinus Torvalds  *
251da177e4SLinus Torvalds  * This program is free software; you can redistribute it and/or modify it
261da177e4SLinus Torvalds  * under the terms of the GNU General Public License as published by the
271da177e4SLinus Torvalds  * Free Software Foundation; either version 2, or (at your option) any
281da177e4SLinus Torvalds  * later version.
291da177e4SLinus Torvalds  *
301da177e4SLinus Torvalds  * This program is distributed in the hope that it will be useful, but
311da177e4SLinus Torvalds  * WITHOUT ANY WARRANTY; without even the implied warranty of
321da177e4SLinus Torvalds  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
331da177e4SLinus Torvalds  * General Public License for more details.
341da177e4SLinus Torvalds  *
351da177e4SLinus Torvalds  * You should have received a copy of the GNU General Public License along
361da177e4SLinus Torvalds  * with this program; if not, write to the Free Software Foundation, Inc.,
371da177e4SLinus Torvalds  * 675 Mass Ave, Cambridge, MA 02139, USA.
381da177e4SLinus Torvalds  */
391da177e4SLinus Torvalds 
401da177e4SLinus Torvalds #include "usb.h"
411da177e4SLinus Torvalds #include "transport.h"
421da177e4SLinus Torvalds 
431da177e4SLinus Torvalds /* This places the Shuttle/SCM USB<->SCSI bridge devices in multi-target
441da177e4SLinus Torvalds  * mode */
451da177e4SLinus Torvalds int usb_stor_euscsi_init(struct us_data *us);
461da177e4SLinus Torvalds 
471da177e4SLinus Torvalds /* This function is required to activate all four slots on the UCR-61S2B
481da177e4SLinus Torvalds  * flash reader */
491da177e4SLinus Torvalds int usb_stor_ucr61s2b_init(struct us_data *us);
50*d853d872SJohann Wilhelm 
51*d853d872SJohann Wilhelm /* This places the HUAWEI E220 devices in multi-port mode */
52*d853d872SJohann Wilhelm int usb_stor_huawei_e220_init(struct us_data *us);
53