|
|
@@ -631,20 +631,6 @@ qlafx00_config_rings(struct scsi_qla_host *vha)
|
|
|
{
|
|
|
struct qla_hw_data *ha = vha->hw;
|
|
|
struct device_reg_fx00 __iomem *reg = &ha->iobase->ispfx00;
|
|
|
- struct init_cb_fx *icb;
|
|
|
- struct req_que *req = ha->req_q_map[0];
|
|
|
- struct rsp_que *rsp = ha->rsp_q_map[0];
|
|
|
-
|
|
|
- /* Setup ring parameters in initialization control block. */
|
|
|
- icb = (struct init_cb_fx *)ha->init_cb;
|
|
|
- icb->request_q_outpointer = __constant_cpu_to_le16(0);
|
|
|
- icb->response_q_inpointer = __constant_cpu_to_le16(0);
|
|
|
- icb->request_q_length = cpu_to_le16(req->length);
|
|
|
- icb->response_q_length = cpu_to_le16(rsp->length);
|
|
|
- icb->request_q_address[0] = cpu_to_le32(LSD(req->dma));
|
|
|
- icb->request_q_address[1] = cpu_to_le32(MSD(req->dma));
|
|
|
- icb->response_q_address[0] = cpu_to_le32(LSD(rsp->dma));
|
|
|
- icb->response_q_address[1] = cpu_to_le32(MSD(rsp->dma));
|
|
|
|
|
|
WRT_REG_DWORD(®->req_q_in, 0);
|
|
|
WRT_REG_DWORD(®->req_q_out, 0);
|