diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2014-09-25 05:16:57 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-25 08:25:04 -0400 |
commit | f3982d89317797f34d4996ab36d4408f956e7a7c (patch) | |
tree | 19d479ccf5676683715c4addf28f0360891431b3 /drivers/scsi/qla2xxx/qla_init.c | |
parent | 7473952e8de0eefed006bd415539f8161e87130d (diff) |
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>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 1b917711cda4..51cabb953552 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -1848,7 +1848,9 @@ enable_82xx_npiv: | |||
1848 | spin_unlock_irqrestore(&ha->hardware_lock, flags); | 1848 | spin_unlock_irqrestore(&ha->hardware_lock, flags); |
1849 | } | 1849 | } |
1850 | 1850 | ||
1851 | if (rval == QLA_SUCCESS && IS_FAC_REQUIRED(ha)) { | 1851 | if (IS_QLA27XX(ha)) |
1852 | ha->flags.fac_supported = 1; | ||
1853 | else if (rval == QLA_SUCCESS && IS_FAC_REQUIRED(ha)) { | ||
1852 | uint32_t size; | 1854 | uint32_t size; |
1853 | 1855 | ||
1854 | rval = qla81xx_fac_get_sector_size(vha, &size); | 1856 | rval = qla81xx_fac_get_sector_size(vha, &size); |