|
@@ -5,7 +5,6 @@
|
|
* See LICENSE.qla2xxx for copyright and licensing details.
|
|
* See LICENSE.qla2xxx for copyright and licensing details.
|
|
*/
|
|
*/
|
|
#include "qla_nvme.h"
|
|
#include "qla_nvme.h"
|
|
-#include "qla_def.h"
|
|
|
|
#include <linux/scatterlist.h>
|
|
#include <linux/scatterlist.h>
|
|
#include <linux/delay.h>
|
|
#include <linux/delay.h>
|
|
#include <linux/nvme.h>
|
|
#include <linux/nvme.h>
|
|
@@ -15,7 +14,7 @@ static struct nvme_fc_port_template qla_nvme_fc_transport;
|
|
|
|
|
|
static void qla_nvme_unregister_remote_port(struct work_struct *);
|
|
static void qla_nvme_unregister_remote_port(struct work_struct *);
|
|
|
|
|
|
-int qla_nvme_register_remote(scsi_qla_host_t *vha, fc_port_t *fcport)
|
|
|
|
|
|
+int qla_nvme_register_remote(struct scsi_qla_host *vha, struct fc_port *fcport)
|
|
{
|
|
{
|
|
struct nvme_rport *rport;
|
|
struct nvme_rport *rport;
|
|
int ret;
|
|
int ret;
|
|
@@ -616,7 +615,7 @@ static int qla_nvme_wait_on_rport_del(fc_port_t *fcport)
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|
|
-void qla_nvme_abort(struct qla_hw_data *ha, srb_t *sp)
|
|
|
|
|
|
+void qla_nvme_abort(struct qla_hw_data *ha, struct srb *sp)
|
|
{
|
|
{
|
|
int rval;
|
|
int rval;
|
|
|
|
|
|
@@ -679,7 +678,7 @@ static void qla_nvme_unregister_remote_port(struct work_struct *work)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-void qla_nvme_delete(scsi_qla_host_t *vha)
|
|
|
|
|
|
+void qla_nvme_delete(struct scsi_qla_host *vha)
|
|
{
|
|
{
|
|
struct nvme_rport *rport, *trport;
|
|
struct nvme_rport *rport, *trport;
|
|
fc_port_t *fcport;
|
|
fc_port_t *fcport;
|
|
@@ -711,7 +710,7 @@ void qla_nvme_delete(scsi_qla_host_t *vha)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-void qla_nvme_register_hba(scsi_qla_host_t *vha)
|
|
|
|
|
|
+void qla_nvme_register_hba(struct scsi_qla_host *vha)
|
|
{
|
|
{
|
|
struct nvme_fc_port_template *tmpl;
|
|
struct nvme_fc_port_template *tmpl;
|
|
struct qla_hw_data *ha;
|
|
struct qla_hw_data *ha;
|