1/*
2 * Largely written by Julian Elischer (julian@tfs.com)
3 * for TRW Financial Systems.
4 *
5 * TRW Financial Systems, in accordance with their agreement with Carnegie
6 * Mellon University, makes this software available to CMU to distribute
7 * or use in any manner that they see fit as long as this message is kept with
8 * the software. For this reason TFS also grants any other persons or
9 * organisations permission to use or modify this software.
10 *
11 * TFS supplies this software to be publicly redistributed
12 * on the understanding that TFS is not responsible for the correct
13 * functioning of this software in any circumstances.
14 *
15 * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
16 *
17 * $FreeBSD: head/sys/cam/scsi/scsi_all.h 64382 2000-08-08 06:24:17Z kbyanc $
18 */
19
20/*
21 * SCSI general interface description
22 */
23
24#ifndef _SCSI_SCSI_ALL_H
25#define _SCSI_SCSI_ALL_H 1
--- 646 unchanged lines hidden (view full) ---
672{
673 u_int8_t data_length[2];/* Sense data length */
674 u_int8_t medium_type;
675 u_int8_t dev_spec;
676 u_int8_t unused[2];
677 u_int8_t blk_desc_len[2];
678};
679
680struct scsi_mode_page_header
681{
682 u_int8_t page_code;
683 u_int8_t page_length;
684};
685
686struct scsi_mode_blk_desc
687{
688 u_int8_t density;
689 u_int8_t nblocks[3];
690 u_int8_t reserved;
691 u_int8_t blklen[3];
692};
693
694#define SCSI_DEFAULT_DENSITY 0x00 /* use 'default' density */
695#define SCSI_SAME_DENSITY 0x7f /* use 'same' density- >= SCSI-2 only */
--- 306 unchanged lines hidden ---
2 * Largely written by Julian Elischer (julian@tfs.com)
3 * for TRW Financial Systems.
4 *
5 * TRW Financial Systems, in accordance with their agreement with Carnegie
6 * Mellon University, makes this software available to CMU to distribute
7 * or use in any manner that they see fit as long as this message is kept with
8 * the software. For this reason TFS also grants any other persons or
9 * organisations permission to use or modify this software.
10 *
11 * TFS supplies this software to be publicly redistributed
12 * on the understanding that TFS is not responsible for the correct
13 * functioning of this software in any circumstances.
14 *
15 * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
16 *
17 * $FreeBSD: head/sys/cam/scsi/scsi_all.h 64382 2000-08-08 06:24:17Z kbyanc $
18 */
19
20/*
21 * SCSI general interface description
22 */
23
24#ifndef _SCSI_SCSI_ALL_H
25#define _SCSI_SCSI_ALL_H 1
--- 646 unchanged lines hidden (view full) ---
672{
673 u_int8_t data_length[2];/* Sense data length */
674 u_int8_t medium_type;
675 u_int8_t dev_spec;
676 u_int8_t unused[2];
677 u_int8_t blk_desc_len[2];
678};
679
680struct scsi_mode_page_header
681{
682 u_int8_t page_code;
683 u_int8_t page_length;
684};
685
686struct scsi_mode_blk_desc
687{
688 u_int8_t density;
689 u_int8_t nblocks[3];
690 u_int8_t reserved;
691 u_int8_t blklen[3];
692};
693
694#define SCSI_DEFAULT_DENSITY 0x00 /* use 'default' density */
695#define SCSI_SAME_DENSITY 0x7f /* use 'same' density- >= SCSI-2 only */
--- 306 unchanged lines hidden ---