162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Header file for Special Initializers for certain USB Mass Storage devices 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Current development and maintenance by: 662306a36Sopenharmony_ci * (c) 1999, 2000 Matthew Dharm (mdharm-usb@one-eyed-alien.net) 762306a36Sopenharmony_ci * 862306a36Sopenharmony_ci * This driver is based on the 'USB Mass Storage Class' document. This 962306a36Sopenharmony_ci * describes in detail the protocol used to communicate with such 1062306a36Sopenharmony_ci * devices. Clearly, the designers had SCSI and ATAPI commands in 1162306a36Sopenharmony_ci * mind when they created this document. The commands are all very 1262306a36Sopenharmony_ci * similar to commands in the SCSI-II and ATAPI specifications. 1362306a36Sopenharmony_ci * 1462306a36Sopenharmony_ci * It is important to note that in a number of cases this class 1562306a36Sopenharmony_ci * exhibits class-specific exemptions from the USB specification. 1662306a36Sopenharmony_ci * Notably the usage of NAK, STALL and ACK differs from the norm, in 1762306a36Sopenharmony_ci * that they are used to communicate wait, failed and OK on commands. 1862306a36Sopenharmony_ci * 1962306a36Sopenharmony_ci * Also, for certain devices, the interrupt endpoint is used to convey 2062306a36Sopenharmony_ci * status of a command. 2162306a36Sopenharmony_ci */ 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci#include "usb.h" 2462306a36Sopenharmony_ci#include "transport.h" 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci/* 2762306a36Sopenharmony_ci * This places the Shuttle/SCM USB<->SCSI bridge devices in multi-target 2862306a36Sopenharmony_ci * mode 2962306a36Sopenharmony_ci */ 3062306a36Sopenharmony_ciint usb_stor_euscsi_init(struct us_data *us); 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci/* 3362306a36Sopenharmony_ci * This function is required to activate all four slots on the UCR-61S2B 3462306a36Sopenharmony_ci * flash reader 3562306a36Sopenharmony_ci */ 3662306a36Sopenharmony_ciint usb_stor_ucr61s2b_init(struct us_data *us); 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci/* This places the HUAWEI E220 devices in multi-port mode */ 3962306a36Sopenharmony_ciint usb_stor_huawei_e220_init(struct us_data *us); 40