1 /* Generated by ./xlat/gen.sh from ./xlat/scsi_sg_commands.in; do not edit. */ 2 #if !(defined(SG_SET_TIMEOUT) || (defined(HAVE_DECL_SG_SET_TIMEOUT) && HAVE_DECL_SG_SET_TIMEOUT)) 3 # define SG_SET_TIMEOUT 0x2201 4 #endif 5 #if !(defined(SG_GET_TIMEOUT) || (defined(HAVE_DECL_SG_GET_TIMEOUT) && HAVE_DECL_SG_GET_TIMEOUT)) 6 # define SG_GET_TIMEOUT 0x2202 7 #endif 8 #if !(defined(SG_EMULATED_HOST) || (defined(HAVE_DECL_SG_EMULATED_HOST) && HAVE_DECL_SG_EMULATED_HOST)) 9 # define SG_EMULATED_HOST 0x2203 10 #endif 11 #if !(defined(SG_SET_TRANSFORM) || (defined(HAVE_DECL_SG_SET_TRANSFORM) && HAVE_DECL_SG_SET_TRANSFORM)) 12 # define SG_SET_TRANSFORM 0x2204 13 #endif 14 #if !(defined(SG_GET_TRANSFORM) || (defined(HAVE_DECL_SG_GET_TRANSFORM) && HAVE_DECL_SG_GET_TRANSFORM)) 15 # define SG_GET_TRANSFORM 0x2205 16 #endif 17 #if !(defined(SG_GET_COMMAND_Q) || (defined(HAVE_DECL_SG_GET_COMMAND_Q) && HAVE_DECL_SG_GET_COMMAND_Q)) 18 # define SG_GET_COMMAND_Q 0x2270 19 #endif 20 #if !(defined(SG_SET_COMMAND_Q) || (defined(HAVE_DECL_SG_SET_COMMAND_Q) && HAVE_DECL_SG_SET_COMMAND_Q)) 21 # define SG_SET_COMMAND_Q 0x2271 22 #endif 23 #if !(defined(SG_GET_RESERVED_SIZE) || (defined(HAVE_DECL_SG_GET_RESERVED_SIZE) && HAVE_DECL_SG_GET_RESERVED_SIZE)) 24 # define SG_GET_RESERVED_SIZE 0x2272 25 #endif 26 #if !(defined(SG_SET_RESERVED_SIZE) || (defined(HAVE_DECL_SG_SET_RESERVED_SIZE) && HAVE_DECL_SG_SET_RESERVED_SIZE)) 27 # define SG_SET_RESERVED_SIZE 0x2275 28 #endif 29 #if !(defined(SG_GET_SCSI_ID) || (defined(HAVE_DECL_SG_GET_SCSI_ID) && HAVE_DECL_SG_GET_SCSI_ID)) 30 # define SG_GET_SCSI_ID 0x2276 31 #endif 32 #if !(defined(SG_SET_FORCE_LOW_DMA) || (defined(HAVE_DECL_SG_SET_FORCE_LOW_DMA) && HAVE_DECL_SG_SET_FORCE_LOW_DMA)) 33 # define SG_SET_FORCE_LOW_DMA 0x2279 34 #endif 35 #if !(defined(SG_GET_LOW_DMA) || (defined(HAVE_DECL_SG_GET_LOW_DMA) && HAVE_DECL_SG_GET_LOW_DMA)) 36 # define SG_GET_LOW_DMA 0x227a 37 #endif 38 #if !(defined(SG_SET_FORCE_PACK_ID) || (defined(HAVE_DECL_SG_SET_FORCE_PACK_ID) && HAVE_DECL_SG_SET_FORCE_PACK_ID)) 39 # define SG_SET_FORCE_PACK_ID 0x227b 40 #endif 41 #if !(defined(SG_GET_PACK_ID) || (defined(HAVE_DECL_SG_GET_PACK_ID) && HAVE_DECL_SG_GET_PACK_ID)) 42 # define SG_GET_PACK_ID 0x227c 43 #endif 44 #if !(defined(SG_GET_NUM_WAITING) || (defined(HAVE_DECL_SG_GET_NUM_WAITING) && HAVE_DECL_SG_GET_NUM_WAITING)) 45 # define SG_GET_NUM_WAITING 0x227d 46 #endif 47 #if !(defined(SG_SET_DEBUG) || (defined(HAVE_DECL_SG_SET_DEBUG) && HAVE_DECL_SG_SET_DEBUG)) 48 # define SG_SET_DEBUG 0x227e 49 #endif 50 #if !(defined(SG_GET_SG_TABLESIZE) || (defined(HAVE_DECL_SG_GET_SG_TABLESIZE) && HAVE_DECL_SG_GET_SG_TABLESIZE)) 51 # define SG_GET_SG_TABLESIZE 0x227F 52 #endif 53 #if !(defined(SG_GET_VERSION_NUM) || (defined(HAVE_DECL_SG_GET_VERSION_NUM) && HAVE_DECL_SG_GET_VERSION_NUM)) 54 # define SG_GET_VERSION_NUM 0x2282 55 #endif 56 #if !(defined(SG_NEXT_CMD_LEN) || (defined(HAVE_DECL_SG_NEXT_CMD_LEN) && HAVE_DECL_SG_NEXT_CMD_LEN)) 57 # define SG_NEXT_CMD_LEN 0x2283 58 #endif 59 #if !(defined(SG_SCSI_RESET) || (defined(HAVE_DECL_SG_SCSI_RESET) && HAVE_DECL_SG_SCSI_RESET)) 60 # define SG_SCSI_RESET 0x2284 61 #endif 62 #if !(defined(SG_IO) || (defined(HAVE_DECL_SG_IO) && HAVE_DECL_SG_IO)) 63 # define SG_IO 0x2285 64 #endif 65 #if !(defined(SG_GET_REQUEST_TABLE) || (defined(HAVE_DECL_SG_GET_REQUEST_TABLE) && HAVE_DECL_SG_GET_REQUEST_TABLE)) 66 # define SG_GET_REQUEST_TABLE 0x2286 67 #endif 68 #if !(defined(SG_SET_KEEP_ORPHAN) || (defined(HAVE_DECL_SG_SET_KEEP_ORPHAN) && HAVE_DECL_SG_SET_KEEP_ORPHAN)) 69 # define SG_SET_KEEP_ORPHAN 0x2287 70 #endif 71 #if !(defined(SG_GET_KEEP_ORPHAN) || (defined(HAVE_DECL_SG_GET_KEEP_ORPHAN) && HAVE_DECL_SG_GET_KEEP_ORPHAN)) 72 # define SG_GET_KEEP_ORPHAN 0x2288 73 #endif 74 #if !(defined(SG_GET_ACCESS_COUNT) || (defined(HAVE_DECL_SG_GET_ACCESS_COUNT) && HAVE_DECL_SG_GET_ACCESS_COUNT)) 75 # define SG_GET_ACCESS_COUNT 0x2289 76 #endif 77