diff options
author | Sarveshwar Bandi <sarveshwarb@serverengines.com> | 2009-11-20 17:23:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-20 17:23:47 -0500 |
commit | fa9a6fed87df1b50804405e700f8d30251d3aaf1 (patch) | |
tree | 6ff36c19f7fb6f68084f5c7d6f737d7a14c9bd16 /drivers/net/benet/be_cmds.h | |
parent | eb6d02133cf5451fece3a37ccccf2ce7c09a09c1 (diff) |
be2net: Patch to flash redboot section while firmware update.
Please apply patch to update redboot section while firmware update. Code
checks if section needs to be updated before actually doing it.
Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_cmds.h')
-rw-r--r-- | drivers/net/benet/be_cmds.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/benet/be_cmds.h b/drivers/net/benet/be_cmds.h index 69dc017c814b..6a430e4d1755 100644 --- a/drivers/net/benet/be_cmds.h +++ b/drivers/net/benet/be_cmds.h | |||
@@ -118,6 +118,7 @@ struct be_mcc_mailbox { | |||
118 | #define OPCODE_COMMON_NTWK_MULTICAST_SET 3 | 118 | #define OPCODE_COMMON_NTWK_MULTICAST_SET 3 |
119 | #define OPCODE_COMMON_NTWK_VLAN_CONFIG 4 | 119 | #define OPCODE_COMMON_NTWK_VLAN_CONFIG 4 |
120 | #define OPCODE_COMMON_NTWK_LINK_STATUS_QUERY 5 | 120 | #define OPCODE_COMMON_NTWK_LINK_STATUS_QUERY 5 |
121 | #define OPCODE_COMMON_READ_FLASHROM 6 | ||
121 | #define OPCODE_COMMON_WRITE_FLASHROM 7 | 122 | #define OPCODE_COMMON_WRITE_FLASHROM 7 |
122 | #define OPCODE_COMMON_CQ_CREATE 12 | 123 | #define OPCODE_COMMON_CQ_CREATE 12 |
123 | #define OPCODE_COMMON_EQ_CREATE 13 | 124 | #define OPCODE_COMMON_EQ_CREATE 13 |
@@ -846,3 +847,4 @@ extern int be_cmd_read_port_type(struct be_adapter *adapter, u32 port, | |||
846 | extern int be_cmd_write_flashrom(struct be_adapter *adapter, | 847 | extern int be_cmd_write_flashrom(struct be_adapter *adapter, |
847 | struct be_dma_mem *cmd, u32 flash_oper, | 848 | struct be_dma_mem *cmd, u32 flash_oper, |
848 | u32 flash_opcode, u32 buf_size); | 849 | u32 flash_opcode, u32 buf_size); |
850 | extern int be_cmd_get_flash_crc(struct be_adapter *adapter, u8 *flashed_crc); | ||