Skip to content

Commit

Permalink
qla2xxx: Force use of mailbox interface for flash access commands for…
Browse files Browse the repository at this point in the history
… ISP27xx.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Chad Dupuis authored and Christoph Hellwig committed Sep 25, 2014
1 parent 7473952 commit f3982d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,9 @@ qla2x00_setup_chip(scsi_qla_host_t *vha)
spin_unlock_irqrestore(&ha->hardware_lock, flags);
}

if (rval == QLA_SUCCESS && IS_FAC_REQUIRED(ha)) {
if (IS_QLA27XX(ha))
ha->flags.fac_supported = 1;
else if (rval == QLA_SUCCESS && IS_FAC_REQUIRED(ha)) {
uint32_t size;

rval = qla81xx_fac_get_sector_size(vha, &size);
Expand Down

0 comments on commit f3982d8

Please sign in to comment.