1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Add some tape specific density codes- only enough of them here to recognize

some specific older units so we can choose 2FM@EOD or FIXED blocksize
quirks.
This commit is contained in:
Matt Jacob 1998-12-17 19:04:18 +00:00
parent 888bec0f0c
commit 303826838c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41907

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: scsi_sa.h,v 1.1 1998/09/15 06:36:34 gibbs Exp $
*/
#ifndef _SCSI_SCSI_SA_H
@ -198,6 +198,22 @@ struct scsi_data_compression_page {
#define ERASE 0x19
#define LOAD_UNLOAD 0x1B
/*
* Tape specific density codes- only enough of them here to recognize
* some specific older units so we can choose 2FM@EOD or FIXED blocksize
* quirks.
*/
#define SCSI_DENSITY_HALFINCH_800 0x01
#define SCSI_DENSITY_HALFINCH_1600 0x02
#define SCSI_DENSITY_HALFINCH_6250 0x03
#define SCSI_DENSITY_HALFINCH_6250C 0xC3 /* HP Compressed 6250 */
#define SCSI_DENSITY_QIC_11_4TRK 0x04
#define SCSI_DENSITY_QIC_11_9TRK 0x84 /* Vendor Unique Emulex */
#define SCSI_DENSITY_QIC_24 0x05
#define SCSI_DENSITY_HALFINCH_PE 0x06
#define SCSI_DENSITY_QIC_120 0x0f
#define SCSI_DENSITY_QIC_150 0x10
__BEGIN_DECLS
void scsi_read_block_limits(struct ccb_scsiio *, u_int32_t,
void (*cbfcnp)(struct cam_periph *, union ccb *),