This patch adds necessary functionality in qla2xxx driver to support SCST target mode add-on. Basically, it only adds the necessary for the target mode add-on constants, hooks, sysfs entries and initialization actions. It doesn't touch any core functionality of qla2xxx driver. This patch needs patches http://article.gmane.org/gmane.linux.scsi/43495 and http://article.gmane.org/gmane.linux.scsi/43475, but doesn't require them. Signed-off-by: Vladislav Bolkhovitin <vst@xxxxxxxx> --- drivers/scsi/qla2xxx/Kconfig | 10 + drivers/scsi/qla2xxx/qla2x_tgt.h | 120 ++++++++++++++++++ drivers/scsi/qla2xxx/qla2x_tgt_def.h | 362 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/scsi/qla2xxx/qla_attr.c | 324 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/scsi/qla2xxx/qla_def.h | 11 + drivers/scsi/qla2xxx/qla_gbl.h | 9 + drivers/scsi/qla2xxx/qla_gs.c | 11 + drivers/scsi/qla2xxx/qla_init.c | 235 ++++++++++++++++++++++++++++++++---- drivers/scsi/qla2xxx/qla_iocb.c | 7 - drivers/scsi/qla2xxx/qla_isr.c | 123 +++++++++++++++++++ drivers/scsi/qla2xxx/qla_mbx.c | 14 +- drivers/scsi/qla2xxx/qla_os.c | 14 ++ 12 files changed, 1201 insertions(+), 39 deletions(-) The patch is too big to be submitted inline. You can find it in http://scst.sourceforge.net/patches/qla_tgt.diff -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html