diff options
author | Brice Goglin <brice@myri.com> | 2007-05-07 17:49:59 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-08 01:15:15 -0400 |
commit | 772a815804ae778aee7fcf937f3d29ab218ecdc7 (patch) | |
tree | 72daec3496f4a9a4362fe9fc0fbb764181baf931 /drivers/net/myri10ge | |
parent | cee505db2459aa100a4c3619b8178ec323f1d11e (diff) |
myri10ge: update firmware headers
Update myri10ge firmware headers to those of 1.4.16.
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/myri10ge')
-rw-r--r-- | drivers/net/myri10ge/myri10ge_mcp.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge_mcp.h b/drivers/net/myri10ge/myri10ge_mcp.h index ee6261db2a51..a1d2a22296a9 100644 --- a/drivers/net/myri10ge/myri10ge_mcp.h +++ b/drivers/net/myri10ge/myri10ge_mcp.h | |||
@@ -200,6 +200,13 @@ enum myri10ge_mcp_cmd_type { | |||
200 | /* data0, data1 = bus addr, | 200 | /* data0, data1 = bus addr, |
201 | * data2 = sizeof(struct mcp_irq_data) from driver point of view, allows | 201 | * data2 = sizeof(struct mcp_irq_data) from driver point of view, allows |
202 | * adding new stuff to mcp_irq_data without changing the ABI */ | 202 | * adding new stuff to mcp_irq_data without changing the ABI */ |
203 | |||
204 | MXGEFW_CMD_UNALIGNED_TEST, | ||
205 | /* same than DMA_TEST (same args) but abort with UNALIGNED on unaligned | ||
206 | * chipset */ | ||
207 | |||
208 | MXGEFW_CMD_UNALIGNED_STATUS | ||
209 | /* return data = boolean, true if the chipset is known to be unaligned */ | ||
203 | }; | 210 | }; |
204 | 211 | ||
205 | enum myri10ge_mcp_cmd_status { | 212 | enum myri10ge_mcp_cmd_status { |
@@ -212,7 +219,8 @@ enum myri10ge_mcp_cmd_status { | |||
212 | MXGEFW_CMD_ERROR_HASH_ERROR, | 219 | MXGEFW_CMD_ERROR_HASH_ERROR, |
213 | MXGEFW_CMD_ERROR_BAD_PORT, | 220 | MXGEFW_CMD_ERROR_BAD_PORT, |
214 | MXGEFW_CMD_ERROR_RESOURCES, | 221 | MXGEFW_CMD_ERROR_RESOURCES, |
215 | MXGEFW_CMD_ERROR_MULTICAST | 222 | MXGEFW_CMD_ERROR_MULTICAST, |
223 | MXGEFW_CMD_ERROR_UNALIGNED | ||
216 | }; | 224 | }; |
217 | 225 | ||
218 | #define MXGEFW_OLD_IRQ_DATA_LEN 40 | 226 | #define MXGEFW_OLD_IRQ_DATA_LEN 40 |
@@ -228,6 +236,10 @@ struct mcp_irq_data { | |||
228 | /* 40 Bytes */ | 236 | /* 40 Bytes */ |
229 | __be32 send_done_count; | 237 | __be32 send_done_count; |
230 | 238 | ||
239 | #define MXGEFW_LINK_DOWN 0 | ||
240 | #define MXGEFW_LINK_UP 1 | ||
241 | #define MXGEFW_LINK_MYRINET 2 | ||
242 | #define MXGEFW_LINK_UNKNOWN 3 | ||
231 | __be32 link_up; | 243 | __be32 link_up; |
232 | __be32 dropped_link_overflow; | 244 | __be32 dropped_link_overflow; |
233 | __be32 dropped_link_error_or_filtered; | 245 | __be32 dropped_link_error_or_filtered; |