scsi_all.h (274732) | scsi_all.h (275892) |
---|---|
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 * | 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: stable/10/sys/cam/scsi/scsi_all.h 274732 2014-11-20 01:55:12Z mav $ | 17 * $FreeBSD: stable/10/sys/cam/scsi/scsi_all.h 275892 2014-12-18 08:38:07Z mav $ |
18 */ 19 20/* 21 * SCSI general interface description 22 */ 23 24#ifndef _SCSI_SCSI_ALL_H 25#define _SCSI_SCSI_ALL_H 1 --- 2487 unchanged lines hidden (view full) --- 2513 */ 2514#define SRC16_LALBA_A 0x3fff 2515#define SRC16_LBPRZ_A 0x4000 2516#define SRC16_LBPME_A 0x8000 2517 uint8_t lalba_lbp[2]; 2518 uint8_t reserved[16]; 2519}; 2520 | 18 */ 19 20/* 21 * SCSI general interface description 22 */ 23 24#ifndef _SCSI_SCSI_ALL_H 25#define _SCSI_SCSI_ALL_H 1 --- 2487 unchanged lines hidden (view full) --- 2513 */ 2514#define SRC16_LALBA_A 0x3fff 2515#define SRC16_LBPRZ_A 0x4000 2516#define SRC16_LBPME_A 0x8000 2517 uint8_t lalba_lbp[2]; 2518 uint8_t reserved[16]; 2519}; 2520 |
2521struct scsi_get_lba_status 2522{ 2523 uint8_t opcode; 2524#define SGLS_SERVICE_ACTION 0x12 2525 uint8_t service_action; 2526 uint8_t addr[8]; 2527 uint8_t alloc_len[4]; 2528 uint8_t reserved; 2529 uint8_t control; 2530}; 2531 2532struct scsi_get_lba_status_data_descr 2533{ 2534 uint8_t addr[8]; 2535 uint8_t length[4]; 2536 uint8_t status; 2537 uint8_t reserved[3]; 2538}; 2539 2540struct scsi_get_lba_status_data 2541{ 2542 uint8_t length[4]; 2543 uint8_t reserved[4]; 2544 struct scsi_get_lba_status_data_descr descr[]; 2545}; 2546 |
|
2521struct scsi_report_luns 2522{ 2523 uint8_t opcode; 2524 uint8_t reserved1; 2525#define RPL_REPORT_DEFAULT 0x00 2526#define RPL_REPORT_WELLKNOWN 0x01 2527#define RPL_REPORT_ALL 0x02 2528 uint8_t select_report; --- 1192 unchanged lines hidden --- | 2547struct scsi_report_luns 2548{ 2549 uint8_t opcode; 2550 uint8_t reserved1; 2551#define RPL_REPORT_DEFAULT 0x00 2552#define RPL_REPORT_WELLKNOWN 0x01 2553#define RPL_REPORT_ALL 0x02 2554 uint8_t select_report; --- 1192 unchanged lines hidden --- |