aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_fsf.c
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2008-06-10 12:20:54 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-12 09:22:25 -0400
commit24073b475d6d2bad8880434a16343ee1da816ea5 (patch)
tree27cf64817f5aa9020692b88366a46743b11db6d3 /drivers/s390/scsi/zfcp_fsf.c
parent6362abd3e00d3161affad996fa53cc69a01fc6d1 (diff)
[SCSI] zfcp: Move FC code to new file
Move all Fibre Channel related code to new file and cleanup the code while doing so. Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.c')
-rw-r--r--drivers/s390/scsi/zfcp_fsf.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c
index 01f9b27daa8c..8568b6f3f27c 100644
--- a/drivers/s390/scsi/zfcp_fsf.c
+++ b/drivers/s390/scsi/zfcp_fsf.c
@@ -848,7 +848,7 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req)
848 break; 848 break;
849 849
850 case FSF_STATUS_READ_INCOMING_ELS: 850 case FSF_STATUS_READ_INCOMING_ELS:
851 zfcp_fsf_incoming_els(fsf_req); 851 zfcp_fc_incoming_els(fsf_req);
852 break; 852 break;
853 853
854 case FSF_STATUS_READ_SENSE_DATA_AVAIL: 854 case FSF_STATUS_READ_SENSE_DATA_AVAIL:
@@ -1742,10 +1742,6 @@ static int zfcp_fsf_send_els_handler(struct zfcp_fsf_req *fsf_req)
1742 break; 1742 break;
1743 case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED: 1743 case FSF_SQ_ULP_DEPENDENT_ERP_REQUIRED:
1744 fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; 1744 fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR;
1745 retval =
1746 zfcp_handle_els_rjt(header->fsf_status_qual.word[1],
1747 (struct zfcp_ls_rjt_par *)
1748 &header->fsf_status_qual.word[2]);
1749 break; 1745 break;
1750 case FSF_SQ_RETRY_IF_POSSIBLE: 1746 case FSF_SQ_RETRY_IF_POSSIBLE:
1751 fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR; 1747 fsf_req->status |= ZFCP_STATUS_FSFREQ_ERROR;
@@ -2534,7 +2530,7 @@ zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req)
2534 &port->status); 2530 &port->status);
2535 } else { 2531 } else {
2536 port->wwnn = plogi->serv_param.wwnn; 2532 port->wwnn = plogi->serv_param.wwnn;
2537 zfcp_plogi_evaluate(port, plogi); 2533 zfcp_fc_plogi_evaluate(port, plogi);
2538 } 2534 }
2539 } 2535 }
2540 } 2536 }