mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
qla2xxx: Force use of mailbox interface for flash access commands for 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>
This commit is contained in:
parent
7473952e8d
commit
f3982d8931
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue