From: Madhuranath Iyengar <mni@xxxxxxxxxxxxxxx> This will be used in future patches, for further cleanup of target mode code. Since IOCBs are always 64 bytes in size, this struct type can be used for all ISP types (2xxx, 24xx, etc.), so that some simplifications can be made associated with the IS_FWI2_CAPABLE() and other related code. Signed-off-by: Madhuranath Iyengar <mni@xxxxxxxxxxxxxxx> --- drivers/scsi/qla2xxx/qla_target.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_target.h b/drivers/scsi/qla2xxx/qla_target.h index 398de87..1a6abe8 100644 --- a/drivers/scsi/qla2xxx/qla_target.h +++ b/drivers/scsi/qla2xxx/qla_target.h @@ -113,6 +113,11 @@ * ISP Queue types left out of new QLogic driver (from old version) \********************************************************************/ +/* Generic IOCB struct */ +typedef struct { + uint8_t data[64]; +} iocb_t; + #ifndef ENABLE_LUN_TYPE #define ENABLE_LUN_TYPE 0x0B /* Enable LUN entry. */ /* -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html