76 lines
3.6 KiB
C
76 lines
3.6 KiB
C
/* Generated by ./xlat/gen.sh from ./xlat/scsi_sg_commands.in; do not edit. */
|
|
#if !(defined(SG_SET_TIMEOUT) || (defined(HAVE_DECL_SG_SET_TIMEOUT) && HAVE_DECL_SG_SET_TIMEOUT))
|
|
# define SG_SET_TIMEOUT 0x2201
|
|
#endif
|
|
#if !(defined(SG_GET_TIMEOUT) || (defined(HAVE_DECL_SG_GET_TIMEOUT) && HAVE_DECL_SG_GET_TIMEOUT))
|
|
# define SG_GET_TIMEOUT 0x2202
|
|
#endif
|
|
#if !(defined(SG_EMULATED_HOST) || (defined(HAVE_DECL_SG_EMULATED_HOST) && HAVE_DECL_SG_EMULATED_HOST))
|
|
# define SG_EMULATED_HOST 0x2203
|
|
#endif
|
|
#if !(defined(SG_SET_TRANSFORM) || (defined(HAVE_DECL_SG_SET_TRANSFORM) && HAVE_DECL_SG_SET_TRANSFORM))
|
|
# define SG_SET_TRANSFORM 0x2204
|
|
#endif
|
|
#if !(defined(SG_GET_TRANSFORM) || (defined(HAVE_DECL_SG_GET_TRANSFORM) && HAVE_DECL_SG_GET_TRANSFORM))
|
|
# define SG_GET_TRANSFORM 0x2205
|
|
#endif
|
|
#if !(defined(SG_GET_COMMAND_Q) || (defined(HAVE_DECL_SG_GET_COMMAND_Q) && HAVE_DECL_SG_GET_COMMAND_Q))
|
|
# define SG_GET_COMMAND_Q 0x2270
|
|
#endif
|
|
#if !(defined(SG_SET_COMMAND_Q) || (defined(HAVE_DECL_SG_SET_COMMAND_Q) && HAVE_DECL_SG_SET_COMMAND_Q))
|
|
# define SG_SET_COMMAND_Q 0x2271
|
|
#endif
|
|
#if !(defined(SG_GET_RESERVED_SIZE) || (defined(HAVE_DECL_SG_GET_RESERVED_SIZE) && HAVE_DECL_SG_GET_RESERVED_SIZE))
|
|
# define SG_GET_RESERVED_SIZE 0x2272
|
|
#endif
|
|
#if !(defined(SG_SET_RESERVED_SIZE) || (defined(HAVE_DECL_SG_SET_RESERVED_SIZE) && HAVE_DECL_SG_SET_RESERVED_SIZE))
|
|
# define SG_SET_RESERVED_SIZE 0x2275
|
|
#endif
|
|
#if !(defined(SG_GET_SCSI_ID) || (defined(HAVE_DECL_SG_GET_SCSI_ID) && HAVE_DECL_SG_GET_SCSI_ID))
|
|
# define SG_GET_SCSI_ID 0x2276
|
|
#endif
|
|
#if !(defined(SG_SET_FORCE_LOW_DMA) || (defined(HAVE_DECL_SG_SET_FORCE_LOW_DMA) && HAVE_DECL_SG_SET_FORCE_LOW_DMA))
|
|
# define SG_SET_FORCE_LOW_DMA 0x2279
|
|
#endif
|
|
#if !(defined(SG_GET_LOW_DMA) || (defined(HAVE_DECL_SG_GET_LOW_DMA) && HAVE_DECL_SG_GET_LOW_DMA))
|
|
# define SG_GET_LOW_DMA 0x227a
|
|
#endif
|
|
#if !(defined(SG_SET_FORCE_PACK_ID) || (defined(HAVE_DECL_SG_SET_FORCE_PACK_ID) && HAVE_DECL_SG_SET_FORCE_PACK_ID))
|
|
# define SG_SET_FORCE_PACK_ID 0x227b
|
|
#endif
|
|
#if !(defined(SG_GET_PACK_ID) || (defined(HAVE_DECL_SG_GET_PACK_ID) && HAVE_DECL_SG_GET_PACK_ID))
|
|
# define SG_GET_PACK_ID 0x227c
|
|
#endif
|
|
#if !(defined(SG_GET_NUM_WAITING) || (defined(HAVE_DECL_SG_GET_NUM_WAITING) && HAVE_DECL_SG_GET_NUM_WAITING))
|
|
# define SG_GET_NUM_WAITING 0x227d
|
|
#endif
|
|
#if !(defined(SG_SET_DEBUG) || (defined(HAVE_DECL_SG_SET_DEBUG) && HAVE_DECL_SG_SET_DEBUG))
|
|
# define SG_SET_DEBUG 0x227e
|
|
#endif
|
|
#if !(defined(SG_GET_SG_TABLESIZE) || (defined(HAVE_DECL_SG_GET_SG_TABLESIZE) && HAVE_DECL_SG_GET_SG_TABLESIZE))
|
|
# define SG_GET_SG_TABLESIZE 0x227F
|
|
#endif
|
|
#if !(defined(SG_GET_VERSION_NUM) || (defined(HAVE_DECL_SG_GET_VERSION_NUM) && HAVE_DECL_SG_GET_VERSION_NUM))
|
|
# define SG_GET_VERSION_NUM 0x2282
|
|
#endif
|
|
#if !(defined(SG_NEXT_CMD_LEN) || (defined(HAVE_DECL_SG_NEXT_CMD_LEN) && HAVE_DECL_SG_NEXT_CMD_LEN))
|
|
# define SG_NEXT_CMD_LEN 0x2283
|
|
#endif
|
|
#if !(defined(SG_SCSI_RESET) || (defined(HAVE_DECL_SG_SCSI_RESET) && HAVE_DECL_SG_SCSI_RESET))
|
|
# define SG_SCSI_RESET 0x2284
|
|
#endif
|
|
#if !(defined(SG_IO) || (defined(HAVE_DECL_SG_IO) && HAVE_DECL_SG_IO))
|
|
# define SG_IO 0x2285
|
|
#endif
|
|
#if !(defined(SG_GET_REQUEST_TABLE) || (defined(HAVE_DECL_SG_GET_REQUEST_TABLE) && HAVE_DECL_SG_GET_REQUEST_TABLE))
|
|
# define SG_GET_REQUEST_TABLE 0x2286
|
|
#endif
|
|
#if !(defined(SG_SET_KEEP_ORPHAN) || (defined(HAVE_DECL_SG_SET_KEEP_ORPHAN) && HAVE_DECL_SG_SET_KEEP_ORPHAN))
|
|
# define SG_SET_KEEP_ORPHAN 0x2287
|
|
#endif
|
|
#if !(defined(SG_GET_KEEP_ORPHAN) || (defined(HAVE_DECL_SG_GET_KEEP_ORPHAN) && HAVE_DECL_SG_GET_KEEP_ORPHAN))
|
|
# define SG_GET_KEEP_ORPHAN 0x2288
|
|
#endif
|
|
#if !(defined(SG_GET_ACCESS_COUNT) || (defined(HAVE_DECL_SG_GET_ACCESS_COUNT) && HAVE_DECL_SG_GET_ACCESS_COUNT))
|
|
# define SG_GET_ACCESS_COUNT 0x2289
|
|
#endif
|