Prev: [PATCH -next] debugfs: no longer needs to depend on SYSFS
Next: Add proper STGT <-> bs_sg passthrough v3
From: Nicholas A. Bellinger on 20 Jul 2010 19:20 From: Nicholas Bellinger <nab(a)linux-iscsi.org> Greetings James and Co, Attached is the first posting of the WIP code for a LPFC TM v4 API against upstream lpfc v8.3.12 from the SF net lpfc TM driver. For those following along, these changes have been going into lio-core-2.6.git/tcm_lpfc in order to use explict LPFC sliport and tgtport operation for the new tcm_lpfc module using the fabric independent configfs control plane in TCM v4.0-rc. The branch for the drivers/scsi/lpfc and drivers/target/tcm_lpfc/ is available here: http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=shortlog;h=refs/heads/tcm_lpfc Please consider these as two seperate patches for upstream. They are being posted as is in order to get some early review and feedback on the main changes involved to make this all go. Also note for the moment the LPFC_TARGET_MODE stubs have been left in place for reference until the latest TM v9.5 is merged. Please ignore them for the first round of review. Best, Signed-off-by: Nicholas A. Bellinger <nab(a)linux-iscsi.org> Nicholas Bellinger (2): lpfc: Add LPFC TM API v4 WIP lpfc: Add TM v9.4 target hooks into LPFC v8.3.12 drivers/scsi/lpfc/Makefile | 4 +- drivers/scsi/lpfc/lpfc.h | 18 + drivers/scsi/lpfc/lpfc_attr.c | 78 ++- drivers/scsi/lpfc/lpfc_crtn.h | 23 + drivers/scsi/lpfc/lpfc_ct.c | 10 + drivers/scsi/lpfc/lpfc_debugfs.c | 4 + drivers/scsi/lpfc/lpfc_disc.h | 21 + drivers/scsi/lpfc/lpfc_els.c | 134 +++- drivers/scsi/lpfc/lpfc_hbadisc.c | 74 ++- drivers/scsi/lpfc/lpfc_hw.h | 136 +++- drivers/scsi/lpfc/lpfc_init.c | 18 + drivers/scsi/lpfc/lpfc_logmsg.h | 1 + drivers/scsi/lpfc/lpfc_mbox.c | 9 + drivers/scsi/lpfc/lpfc_mem.c | 8 + drivers/scsi/lpfc/lpfc_nportdisc.c | 140 +++- drivers/scsi/lpfc/lpfc_scsi.c | 4 + drivers/scsi/lpfc/lpfc_sli.c | 223 +++++- drivers/scsi/lpfc/lpfc_sli.h | 40 + drivers/scsi/lpfc/lpfc_target_api.c | 1375 ++++++++++++++++++++++++++++++ drivers/scsi/lpfc/lpfc_target_api.h | 180 ++++ drivers/scsi/lpfc/lpfc_target_api_base.h | 45 + drivers/scsi/lpfc/lpfc_target_mod.h | 159 ++++ drivers/scsi/lpfc/lpfc_target_protos.h | 34 + drivers/scsi/lpfc/lpfc_vport.c | 17 + 24 files changed, 2732 insertions(+), 23 deletions(-) create mode 100755 drivers/scsi/lpfc/lpfc_target_api.c create mode 100755 drivers/scsi/lpfc/lpfc_target_api.h create mode 100755 drivers/scsi/lpfc/lpfc_target_api_base.h create mode 100755 drivers/scsi/lpfc/lpfc_target_mod.h create mode 100755 drivers/scsi/lpfc/lpfc_target_protos.h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |