diff options
Diffstat (limited to 'drivers/net/myri10ge')
-rw-r--r-- | drivers/net/myri10ge/myri10ge_mcp.h | 14 | ||||
-rw-r--r-- | drivers/net/myri10ge/myri10ge_mcp_gen_header.h | 12 |
2 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/myri10ge/myri10ge_mcp.h b/drivers/net/myri10ge/myri10ge_mcp.h index ac23e18db63..0a6cae6cb18 100644 --- a/drivers/net/myri10ge/myri10ge_mcp.h +++ b/drivers/net/myri10ge/myri10ge_mcp.h @@ -35,17 +35,17 @@ struct mcp_cmd_response { u32 result; }; -/* +/* * flags used in mcp_kreq_ether_send_t: - * + * * The SMALL flag is only needed in the first segment. It is raised * for packets that are total less or equal 512 bytes. - * + * * The CKSUM flag must be set in all segments. - * + * * The PADDED flags is set if the packet needs to be padded, and it * must be set for all segments. - * + * * The MXGEFW_FLAGS_ALIGN_ODD must be set if the cumulative * length of all previous segments was odd. */ @@ -111,7 +111,7 @@ enum myri10ge_mcp_cmd_type { MXGEFW_CMD_SET_BIG_BUFFER_SIZE, /* in bytes, power of 2 */ MXGEFW_CMD_SET_SMALL_BUFFER_SIZE, /* in bytes */ - /* Parameters which refer to lanai SRAM addresses where the + /* Parameters which refer to lanai SRAM addresses where the * driver must issue PIO writes for various things */ MXGEFW_CMD_GET_SEND_OFFSET, @@ -128,7 +128,7 @@ enum myri10ge_mcp_cmd_type { /* Parameters which refer to rings stored in the host, * and whose size is controlled by the host. Note that - * all must be physically contiguous and must contain + * all must be physically contiguous and must contain * a power of 2 number of entries. */ MXGEFW_CMD_SET_INTRQ_SIZE, /* in bytes */ diff --git a/drivers/net/myri10ge/myri10ge_mcp_gen_header.h b/drivers/net/myri10ge/myri10ge_mcp_gen_header.h index 1d3a35f1078..487f7792fd4 100644 --- a/drivers/net/myri10ge/myri10ge_mcp_gen_header.h +++ b/drivers/net/myri10ge/myri10ge_mcp_gen_header.h @@ -7,17 +7,17 @@ * the .data section, because some fields needs to be initialized at * compile time. * The 32bit word at offset MX_HEADER_PTR_OFFSET in the mcp must - * contains the location of the header. - * + * contains the location of the header. + * * Typically a MCP will start with the following: * .text * .space 52 ! to help catch MEMORY_INT errors * bt start ! jump to real code * nop * .long _gen_mcp_header - * + * * The source will have a definition like: - * + * * mcp_gen_header_t gen_mcp_header = { * .header_length = sizeof(mcp_gen_header_t), * .mcp_type = MCP_TYPE_XXX, @@ -46,11 +46,11 @@ struct mcp_gen_header { unsigned string_specs_len; /* Fields above this comment are guaranteed to be present. - * + * * Fields below this comment are extensions added in later versions * of this struct, drivers should compare the header_length against * offsetof(field) to check wether a given MCP implements them. - * + * * Never remove any field. Keep everything naturally align. */ }; |