Commit ae33fa86 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley

[PATCH] RE: PATCH [5/15] qla2xxx: request entries update

For now, I'd say keep everything in the original patch except the
hunk that changes SG_ALL -> 32, revised patch attached.
parent 94b6b09c
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
#define MAX_OUTSTANDING_COMMANDS 1024 #define MAX_OUTSTANDING_COMMANDS 1024
/* ISP request and response entry counts (37-65535) */ /* ISP request and response entry counts (37-65535) */
#define REQUEST_ENTRY_CNT 1024 /* Number of request entries. */ #define REQUEST_ENTRY_CNT 2048 /* Number of request entries. */
#define RESPONSE_ENTRY_CNT_2100 64 /* Number of response entries.*/ #define RESPONSE_ENTRY_CNT_2100 64 /* Number of response entries.*/
#define RESPONSE_ENTRY_CNT_2300 512 /* Number of response entries.*/ #define RESPONSE_ENTRY_CNT_2300 512 /* Number of response entries.*/
......
...@@ -603,6 +603,9 @@ qla2x00_chip_diag(scsi_qla_host_t *ha) ...@@ -603,6 +603,9 @@ qla2x00_chip_diag(scsi_qla_host_t *ha)
ha->product_id[3] = mb[4]; ha->product_id[3] = mb[4];
/* Adjust fw RISC transfer size */ /* Adjust fw RISC transfer size */
if (REQUEST_ENTRY_CNT > 1024)
ha->fw_transfer_size = REQUEST_ENTRY_SIZE * 1024;
else
ha->fw_transfer_size = REQUEST_ENTRY_SIZE * REQUEST_ENTRY_CNT; ha->fw_transfer_size = REQUEST_ENTRY_SIZE * REQUEST_ENTRY_CNT;
if (IS_QLA2200(ha) && if (IS_QLA2200(ha) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment