Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ */
0002 /*
0003  * Header file for Special Initializers for certain USB Mass Storage devices
0004  *
0005  * Current development and maintenance by:
0006  *   (c) 1999, 2000 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
0007  *
0008  * This driver is based on the 'USB Mass Storage Class' document. This
0009  * describes in detail the protocol used to communicate with such
0010  * devices.  Clearly, the designers had SCSI and ATAPI commands in
0011  * mind when they created this document.  The commands are all very
0012  * similar to commands in the SCSI-II and ATAPI specifications.
0013  *
0014  * It is important to note that in a number of cases this class
0015  * exhibits class-specific exemptions from the USB specification.
0016  * Notably the usage of NAK, STALL and ACK differs from the norm, in
0017  * that they are used to communicate wait, failed and OK on commands.
0018  *
0019  * Also, for certain devices, the interrupt endpoint is used to convey
0020  * status of a command.
0021  */
0022 
0023 #include "usb.h"
0024 #include "transport.h"
0025 
0026 /*
0027  * This places the Shuttle/SCM USB<->SCSI bridge devices in multi-target
0028  * mode
0029  */
0030 int usb_stor_euscsi_init(struct us_data *us);
0031 
0032 /*
0033  * This function is required to activate all four slots on the UCR-61S2B
0034  * flash reader
0035  */
0036 int usb_stor_ucr61s2b_init(struct us_data *us);
0037 
0038 /* This places the HUAWEI E220 devices in multi-port mode */
0039 int usb_stor_huawei_e220_init(struct us_data *us);