aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Dupuis <[email protected]>2014-09-25 05:16:37 -0400
committerChristoph Hellwig <[email protected]>2014-09-25 14:25:01 +0200
commit420854b3cda9e7e0ff1ace8dba3ad45387d15d14 (patch)
tree7db04231f12ce6e0ec2f0e3bae57fc3075cac0cf
parent2ac224bc0e9021520be95f6678c94440d526aa49 (diff)
qla2xxx: Enable fast flash access for ISP83xx.
Signed-off-by: Chad Dupuis <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
-rw-r--r--drivers/scsi/qla2xxx/qla_sup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c
index bca173e56f16..04b370182742 100644
--- a/drivers/scsi/qla2xxx/qla_sup.c
+++ b/drivers/scsi/qla2xxx/qla_sup.c
@@ -2580,7 +2580,8 @@ qla25xx_read_optrom_data(struct scsi_qla_host *vha, uint8_t *buf,
uint32_t faddr, left, burst;
struct qla_hw_data *ha = vha->hw;
- if (IS_QLA25XX(ha) || IS_QLA81XX(ha) || IS_QLA27XX(ha))
+ if (IS_QLA25XX(ha) || IS_QLA81XX(ha) || IS_QLA83XX(ha) ||
+ IS_QLA27XX(ha))
goto try_fast;
if (offset & 0xfff)
goto slow_read;