diff options
author | amit salecha <amit.salecha@qlogic.com> | 2011-01-10 00:15:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-10 13:34:54 -0800 |
commit | 0e5f20b656c14d91efe61240d44b6f4b53ea939e (patch) | |
tree | 922d04e0def9723cae63d8a0de1daa77d9bf2c94 /lib | |
parent | facb4edc1e0e849ea98e147a821e60d6d6272c0a (diff) | |
download | blackbird-op-linux-0e5f20b656c14d91efe61240d44b6f4b53ea939e.tar.gz blackbird-op-linux-0e5f20b656c14d91efe61240d44b6f4b53ea939e.zip |
qlcnic: fix flash fw version read
Driver is reading flash fw version from defined address, this address
may be invalid. Indeed Driver should read address for fw version through
flash layout table. Flash layout table has defined region and address for
fw version address should be read from fw image region.
Driver has check for old firmware, this bug can cause driver load fail.
This patch will try to read fw version from flash image region, if that fails,
read from defined address.
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions