summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@qlogic.com>2014-02-26 10:14:56 +0100
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 18:17:48 +0100
commit7a8ab9c840b5dff9bb70328338a86444ed1c2415 (patch)
tree9eaa33081902dfc0684dc10e15284c7ce5b9fc29 /drivers/scsi/qla2xxx/qla_def.h
parent[SCSI] bnx2fc: Updated version to 2.4.2 (diff)
downloadlinux-7a8ab9c840b5dff9bb70328338a86444ed1c2415.tar.xz
linux-7a8ab9c840b5dff9bb70328338a86444ed1c2415.zip
[SCSI] qla2xxx: Add mutex around optrom calls to serialize accesses.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 266724b6b899..7c69729d832a 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -3183,6 +3183,7 @@ struct qla_hw_data {
#define QLA_SWRITING 2
uint32_t optrom_region_start;
uint32_t optrom_region_size;
+ struct mutex optrom_mutex;
/* PCI expansion ROM image information. */
#define ROM_CODE_TYPE_BIOS 0