Nicholas A. Bellinger, on 04/05/2011 09:11 AM wrote: > From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> > > This patch enables target mode support with the qla2xxx SCSI LLD using > qla_target.c logic introduced in commit f86d9fc734. This includes: > > *) Addition of target mode specific members to existing data > structures in qla_def.h and struct qla_hw_data->qla2x_tmpl using > qla_target.h:struct qla_target_template. > > *) Addition of struct qla_target_template and direct calls into > qla_target.c logic w/ qla_tgt_* prefixed functions. > > *) Addition of qla_iocb:qla2x00_req_pkt() for ring processing, and > qla2x00_issue_marker() for handling request/response queue processing > for target mode operation > > *) Addition of various qla_tgt_mode_enabled() logic checks in > qla24xx_nvram_config(), qla2x00_initialize_adapter(), qla2x00_rff_id(), > qla2x00_abort_isp(), qla24xx_modify_vp_config(), and qla2x00_vp_abort_isp(). > > For the specific checks for qla_hw_data->qla2x_tmpl this includes: > > *) control plane: > > qla_init.c:qla2x00_rport_del() -> qla_tgt_fc_port_deleted() > qla_init.c:qla2x00_reg_remote_port() -> qla_tgt_fc_port_added() > qla_init.c:qla2x00_device_resync() -> qla2x00_mark_device_lost() > > *) I/O path: > > qla_isr.c:qla2x00_async_event() -> qla_tgt_async_event() > qla_isr.c:qla2x00_process_response_queue() -> qla_tgt_response_pkt_all_vps() > qla_isr.c:qla24xx_process_response_queue() -> qla_tgt_response_pkt_all_vps() Most of this code was written by me and other SCST developers. How about to give proper credits to the original authors? Vlad -- 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