]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.drivers/qla2xxx-extend-address-range-of-option-rom-update
Fix oinkmaster patch.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.drivers / qla2xxx-extend-address-range-of-option-rom-update
CommitLineData
2cb7cef9
BS
1From 7bb61cdff8715631deda859443d3a6650a1bbb28 Mon Sep 17 00:00:00 2001
2From: Andrew Vasquez <andrew.vasquez@qlogic.com>
3Date: Mon, 16 Feb 2009 07:27:09 -0800
4Subject: qla2xxx: Extend address range of option-rom update for recent ISPs
5References: bnc#476206
6
7Please consider this correction to option-rom
8update handling. The issue is that applications will need
9to update a larger address-range of the flash than was previously
10allowed with earlier ISP parts.
11
12This will be important for customers such as IBM and HPQ to
13allow their end-users to enable multi-queue facilities within
14the field with inbox SLES11 drivers.
15
16Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
17Signed-off-by: Hannes Reinecke <hare@suse.de>
18
19---
20 drivers/scsi/qla2xxx/qla_attr.c | 3 +--
21 1 files changed, 1 insertions(+), 2 deletions(-)
22
23diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
24index 34c4016..ef9146f 100644
25--- a/drivers/scsi/qla2xxx/qla_attr.c
26+++ b/drivers/scsi/qla2xxx/qla_attr.c
27@@ -295,8 +295,7 @@ qla2x00_sysfs_write_optrom_ctl(struct kobject *kobj,
28 else if (start == (ha->flt_region_boot * 4) ||
29 start == (ha->flt_region_fw * 4))
30 valid = 1;
31- else if (IS_QLA25XX(ha) &&
32- start == (ha->flt_region_vpd_nvram * 4))
33+ else if (IS_QLA25XX(ha))
34 valid = 1;
35 if (!valid) {
36 qla_printk(KERN_WARNING, ha,
37--
381.6.0.4.781.gf2070
39