diff options
author | Sritej Velaga <sritej.velaga@qlogic.com> | 2011-04-01 16:28:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-06 21:47:13 +0200 |
commit | f8d54811cb125094769704722e4eda6610339b92 (patch) | |
tree | 1c562a24bb1e091722edce0a84152f29402b2369 /drivers/net/qlcnic/qlcnic.h | |
parent | qlcnic: Remove unused code (diff) | |
download | linux-f8d54811cb125094769704722e4eda6610339b92.tar.xz linux-f8d54811cb125094769704722e4eda6610339b92.zip |
qlcnic: Use flt method to determine flash fw region
Use flash layout table to get flash fw starting address and its size.
If that fails, use legacy method.
Signed-off-by: Sritej Velaga <sritej.velaga@qlogic.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index 9d2e630c3895..d9dd2c40c92f 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h @@ -292,6 +292,7 @@ struct uni_data_desc{ /* Flash Defines and Structures */ #define QLCNIC_FLT_LOCATION 0x3F1000 #define QLCNIC_FW_IMAGE_REGION 0x74 +#define QLCNIC_BOOTLD_REGION 0X72 struct qlcnic_flt_header { u16 version; u16 len; @@ -306,7 +307,7 @@ struct qlcnic_flt_entry { u8 reserved1; u32 size; u32 start_addr; - u32 end_add; + u32 end_addr; }; /* Magic number to let user know flash is programmed */ |