• amit salecha's avatar
    qlcnic: fix flash fw version read · 0e5f20b6
    amit salecha authored
    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: default avatarAmit Kumar Salecha <amit.salecha@qlogic.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    0e5f20b6
qlcnic.h 39.3 KB