Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55089
b: refs/heads/master
c: 772a815
h: refs/heads/master
i:
  55087: 7e66281
v: v3
  • Loading branch information
Brice Goglin authored and Jeff Garzik committed May 8, 2007
1 parent 694cd37 commit fc96f33
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cee505db2459aa100a4c3619b8178ec323f1d11e
refs/heads/master: 772a815804ae778aee7fcf937f3d29ab218ecdc7
14 changes: 13 additions & 1 deletion trunk/drivers/net/myri10ge/myri10ge_mcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ enum myri10ge_mcp_cmd_type {
/* data0, data1 = bus addr,
* data2 = sizeof(struct mcp_irq_data) from driver point of view, allows
* adding new stuff to mcp_irq_data without changing the ABI */

MXGEFW_CMD_UNALIGNED_TEST,
/* same than DMA_TEST (same args) but abort with UNALIGNED on unaligned
* chipset */

MXGEFW_CMD_UNALIGNED_STATUS
/* return data = boolean, true if the chipset is known to be unaligned */
};

enum myri10ge_mcp_cmd_status {
Expand All @@ -212,7 +219,8 @@ enum myri10ge_mcp_cmd_status {
MXGEFW_CMD_ERROR_HASH_ERROR,
MXGEFW_CMD_ERROR_BAD_PORT,
MXGEFW_CMD_ERROR_RESOURCES,
MXGEFW_CMD_ERROR_MULTICAST
MXGEFW_CMD_ERROR_MULTICAST,
MXGEFW_CMD_ERROR_UNALIGNED
};

#define MXGEFW_OLD_IRQ_DATA_LEN 40
Expand All @@ -228,6 +236,10 @@ struct mcp_irq_data {
/* 40 Bytes */
__be32 send_done_count;

#define MXGEFW_LINK_DOWN 0
#define MXGEFW_LINK_UP 1
#define MXGEFW_LINK_MYRINET 2
#define MXGEFW_LINK_UNKNOWN 3
__be32 link_up;
__be32 dropped_link_overflow;
__be32 dropped_link_error_or_filtered;
Expand Down

0 comments on commit fc96f33

Please sign in to comment.