003 File Manager
Current Path:
/usr/src/sys/cam/scsi
usr
/
src
/
sys
/
cam
/
scsi
/
📁
..
📄
scsi_all.c
(265.98 KB)
📄
scsi_all.h
(110.71 KB)
📄
scsi_cd.c
(112.36 KB)
📄
scsi_cd.h
(20.41 KB)
📄
scsi_ch.c
(50.54 KB)
📄
scsi_ch.h
(15.62 KB)
📄
scsi_da.c
(179.67 KB)
📄
scsi_da.h
(21.38 KB)
📄
scsi_enc.c
(24.08 KB)
📄
scsi_enc.h
(7.78 KB)
📄
scsi_enc_internal.h
(7.42 KB)
📄
scsi_enc_safte.c
(29.92 KB)
📄
scsi_enc_ses.c
(84.76 KB)
📄
scsi_iu.h
(1.05 KB)
📄
scsi_message.h
(2.86 KB)
📄
scsi_pass.c
(58.06 KB)
📄
scsi_pass.h
(1.94 KB)
📄
scsi_pt.c
(14.86 KB)
📄
scsi_pt.h
(1.71 KB)
📄
scsi_sa.c
(160.26 KB)
📄
scsi_sa.h
(30.63 KB)
📄
scsi_ses.h
(85 KB)
📄
scsi_sg.c
(22.95 KB)
📄
scsi_sg.h
(4.08 KB)
📄
scsi_targ_bh.c
(20.22 KB)
📄
scsi_target.c
(31.7 KB)
📄
scsi_targetio.h
(2.9 KB)
📄
scsi_xpt.c
(91.13 KB)
📄
smp_all.c
(21.12 KB)
📄
smp_all.h
(16.26 KB)
Editing: scsi_iu.h
/*- * This file is in the public domain. * $FreeBSD$ */ #ifndef _SCSI_SCSI_IU_H #define _SCSI_SCSI_IU_H 1 struct scsi_status_iu_header { u_int8_t reserved[2]; u_int8_t flags; #define SIU_SNSVALID 0x2 #define SIU_RSPVALID 0x1 u_int8_t status; u_int8_t sense_length[4]; u_int8_t pkt_failures_length[4]; u_int8_t pkt_failures[1]; }; #define SIU_PKTFAIL_OFFSET(siu) 12 #define SIU_PKTFAIL_CODE(siu) (scsi_4btoul((siu)->pkt_failures) & 0xFF) #define SIU_PFC_NONE 0 #define SIU_PFC_CIU_FIELDS_INVALID 2 #define SIU_PFC_TMF_NOT_SUPPORTED 4 #define SIU_PFC_TMF_FAILED 5 #define SIU_PFC_INVALID_TYPE_CODE 6 #define SIU_PFC_ILLEGAL_REQUEST 7 #define SIU_SENSE_OFFSET(siu) \ (12 + (((siu)->flags & SIU_RSPVALID) \ ? scsi_4btoul((siu)->pkt_failures_length) \ : 0)) #define SIU_TASKMGMT_NONE 0x00 #define SIU_TASKMGMT_ABORT_TASK 0x01 #define SIU_TASKMGMT_ABORT_TASK_SET 0x02 #define SIU_TASKMGMT_CLEAR_TASK_SET 0x04 #define SIU_TASKMGMT_LUN_RESET 0x08 #define SIU_TASKMGMT_TARGET_RESET 0x20 #define SIU_TASKMGMT_CLEAR_ACA 0x40 #endif /*_SCSI_SCSI_IU_H*/
Upload File
Create Folder