Go to the documentation of this file.
27 #ifndef __RTS51X_SCSI_H
28 #define __RTS51X_SCSI_H
39 #define MS_SP_CMND 0xFA
40 #define MS_FORMAT 0xA0
41 #define GET_MS_INFORMATION 0xB0
43 #define VENDOR_CMND 0xF0
45 #define READ_STATUS 0x09
48 #define WRITE_MEM 0x0E
49 #define GET_BUS_WIDTH 0x13
50 #define GET_SD_CSD 0x14
51 #define TOGGLE_GPIO 0x15
52 #define TRACE_MSG 0x18
54 #define SCSI_APP_CMD 0x10
56 #define PP_READ10 0x1A
57 #define PP_WRITE10 0x0A
58 #define READ_HOST_REG 0x1D
59 #define WRITE_HOST_REG 0x0D
63 #define DMA_WRITE 0x06
64 #define GET_DEV_STATUS 0x10
65 #define SET_CHIP_MODE 0x27
67 #define WRITE_PHY 0x07
70 #define INIT_BATCHCMD 0x41
71 #define ADD_BATCHCMD 0x42
72 #define SEND_BATCHCMD 0x43
73 #define GET_BATCHRSP 0x44
77 #define SD_PASS_THRU_MODE 0xD0
78 #define SD_EXECUTE_NO_DATA 0xD1
79 #define SD_EXECUTE_READ 0xD2
80 #define SD_EXECUTE_WRITE 0xD3
81 #define SD_GET_RSP 0xD4
82 #define SD_HW_RST 0xD6
85 #ifdef SUPPORT_MAGIC_GATE
86 #define CMD_MSPRO_MG_RKEY 0xA4
87 #define CMD_MSPRO_MG_SKEY 0xA3
90 #define KC_MG_R_PRO 0xBE
93 #define KF_SET_LEAF_ID 0x31
94 #define KF_GET_LOC_EKB 0x32
95 #define KF_CHG_HOST 0x33
96 #define KF_RSP_CHG 0x34
97 #define KF_RSP_HOST 0x35
98 #define KF_GET_ICV 0x36
99 #define KF_SET_ICV 0x37
107 #define STOP_MEDIUM 0x00
108 #define MAKE_MEDIUM_READY 0x01
109 #define UNLOAD_MEDIUM 0x02
110 #define LOAD_MEDIUM 0x03
115 #define QULIFIRE 0x00
116 #define AENC_FNC 0x00
117 #define TRML_IOP 0x00
127 #define PRDCT_ID_LEN 16
128 #define PRDCT_REV_LEN 4
130 #define DRCT_ACCESS_DEV 0x00
131 #define RMB_DISC 0x80
132 #define ANSI_SCSI2 0x02