1*1da177e4SLinus Torvalds /* Header file for Special Initializers for certain USB Mass Storage devices 2*1da177e4SLinus Torvalds * 3*1da177e4SLinus Torvalds * $Id: initializers.h,v 1.1 2000/08/29 23:07:02 mdharm Exp $ 4*1da177e4SLinus Torvalds * 5*1da177e4SLinus Torvalds * Current development and maintenance by: 6*1da177e4SLinus Torvalds * (c) 1999, 2000 Matthew Dharm (mdharm-usb@one-eyed-alien.net) 7*1da177e4SLinus Torvalds * 8*1da177e4SLinus Torvalds * This driver is based on the 'USB Mass Storage Class' document. This 9*1da177e4SLinus Torvalds * describes in detail the protocol used to communicate with such 10*1da177e4SLinus Torvalds * devices. Clearly, the designers had SCSI and ATAPI commands in 11*1da177e4SLinus Torvalds * mind when they created this document. The commands are all very 12*1da177e4SLinus Torvalds * similar to commands in the SCSI-II and ATAPI specifications. 13*1da177e4SLinus Torvalds * 14*1da177e4SLinus Torvalds * It is important to note that in a number of cases this class 15*1da177e4SLinus Torvalds * exhibits class-specific exemptions from the USB specification. 16*1da177e4SLinus Torvalds * Notably the usage of NAK, STALL and ACK differs from the norm, in 17*1da177e4SLinus Torvalds * that they are used to communicate wait, failed and OK on commands. 18*1da177e4SLinus Torvalds * 19*1da177e4SLinus Torvalds * Also, for certain devices, the interrupt endpoint is used to convey 20*1da177e4SLinus Torvalds * status of a command. 21*1da177e4SLinus Torvalds * 22*1da177e4SLinus Torvalds * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more 23*1da177e4SLinus Torvalds * information about this driver. 24*1da177e4SLinus Torvalds * 25*1da177e4SLinus Torvalds * This program is free software; you can redistribute it and/or modify it 26*1da177e4SLinus Torvalds * under the terms of the GNU General Public License as published by the 27*1da177e4SLinus Torvalds * Free Software Foundation; either version 2, or (at your option) any 28*1da177e4SLinus Torvalds * later version. 29*1da177e4SLinus Torvalds * 30*1da177e4SLinus Torvalds * This program is distributed in the hope that it will be useful, but 31*1da177e4SLinus Torvalds * WITHOUT ANY WARRANTY; without even the implied warranty of 32*1da177e4SLinus Torvalds * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 33*1da177e4SLinus Torvalds * General Public License for more details. 34*1da177e4SLinus Torvalds * 35*1da177e4SLinus Torvalds * You should have received a copy of the GNU General Public License along 36*1da177e4SLinus Torvalds * with this program; if not, write to the Free Software Foundation, Inc., 37*1da177e4SLinus Torvalds * 675 Mass Ave, Cambridge, MA 02139, USA. 38*1da177e4SLinus Torvalds */ 39*1da177e4SLinus Torvalds 40*1da177e4SLinus Torvalds #include <linux/config.h> 41*1da177e4SLinus Torvalds #include "usb.h" 42*1da177e4SLinus Torvalds #include "transport.h" 43*1da177e4SLinus Torvalds 44*1da177e4SLinus Torvalds /* This places the Shuttle/SCM USB<->SCSI bridge devices in multi-target 45*1da177e4SLinus Torvalds * mode */ 46*1da177e4SLinus Torvalds int usb_stor_euscsi_init(struct us_data *us); 47*1da177e4SLinus Torvalds 48*1da177e4SLinus Torvalds #ifdef CONFIG_USB_STORAGE_SDDR09 49*1da177e4SLinus Torvalds int sddr09_init(struct us_data *us); 50*1da177e4SLinus Torvalds #endif 51*1da177e4SLinus Torvalds 52*1da177e4SLinus Torvalds /* This function is required to activate all four slots on the UCR-61S2B 53*1da177e4SLinus Torvalds * flash reader */ 54*1da177e4SLinus Torvalds int usb_stor_ucr61s2b_init(struct us_data *us); 55