diff options
author | Vasundhara Volam <vasundhara.volam@emulex.com> | 2013-04-21 23:28:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-22 15:36:06 -0400 |
commit | 0ad3157e813a59e91dfbea2eff6a3d330215f5af (patch) | |
tree | ac8c1182bd3ba65c703fe34ff7d315e9ecff4d21 /drivers/net/ethernet/emulex/benet/be_hw.h | |
parent | 4d277125d88f14947141083f323a75adf7e52989 (diff) | |
download | linux-0ad3157e813a59e91dfbea2eff6a3d330215f5af.tar.bz2 |
be2net: Avoid flashing BE3 UFI on BE3-R chip.
Avoid flashing BE3 UFI on BE3-R chip by verifying asic_revision
number of the chip.
Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_hw.h')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_hw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_hw.h b/drivers/net/ethernet/emulex/benet/be_hw.h index b305f8d22f9c..3c1099b47f2a 100644 --- a/drivers/net/ethernet/emulex/benet/be_hw.h +++ b/drivers/net/ethernet/emulex/benet/be_hw.h @@ -499,7 +499,8 @@ struct flash_file_hdr_g3 { u32 antidote; u32 num_imgs; u8 build[24]; - u8 rsvd[32]; + u8 asic_type_rev; + u8 rsvd[31]; }; struct flash_section_hdr { |