aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/myri10ge')
-rw-r--r--drivers/net/myri10ge/myri10ge_mcp_gen_header.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/myri10ge/myri10ge_mcp_gen_header.h b/drivers/net/myri10ge/myri10ge_mcp_gen_header.h
index caa6cbbb631e..62a1cbab603f 100644
--- a/drivers/net/myri10ge/myri10ge_mcp_gen_header.h
+++ b/drivers/net/myri10ge/myri10ge_mcp_gen_header.h
@@ -9,6 +9,7 @@
9#define MCP_TYPE_ETH 0x45544820 /* "ETH " */ 9#define MCP_TYPE_ETH 0x45544820 /* "ETH " */
10#define MCP_TYPE_MCP0 0x4d435030 /* "MCP0" */ 10#define MCP_TYPE_MCP0 0x4d435030 /* "MCP0" */
11#define MCP_TYPE_DFLT 0x20202020 /* " " */ 11#define MCP_TYPE_DFLT 0x20202020 /* " " */
12#define MCP_TYPE_ETHZ 0x4554485a /* "ETHZ" */
12 13
13struct mcp_gen_header { 14struct mcp_gen_header {
14 /* the first 4 fields are filled at compile time */ 15 /* the first 4 fields are filled at compile time */
@@ -43,7 +44,15 @@ struct mcp_gen_header {
43 unsigned msix_table_addr; /* start address of msix table in firmware */ 44 unsigned msix_table_addr; /* start address of msix table in firmware */
44 unsigned bss_addr; /* start of bss */ 45 unsigned bss_addr; /* start of bss */
45 unsigned features; 46 unsigned features;
47 unsigned ee_hdr_addr;
46 /* 8 */ 48 /* 8 */
47}; 49};
48 50
51struct zmcp_info {
52 unsigned info_len;
53 unsigned zmcp_addr;
54 unsigned zmcp_len;
55 unsigned mcp_edata;
56};
57
49#endif /* __MYRI10GE_MCP_GEN_HEADER_H__ */ 58#endif /* __MYRI10GE_MCP_GEN_HEADER_H__ */