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