aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-05-24 00:28:37 -0400
committerJeff Garzik <jeff@garzik.org>2006-05-24 00:28:37 -0400
commit6ed14254cb6e269030ff09bed8673473b7be0283 (patch)
treea5a994f9f1afccfcc8d7b98a32e47d82cc90b5fb /drivers/net/myri10ge
parentcf393ebed0abb1186c34b21f3d1d939ac2b5568a (diff)
[netdrvr pcnet_cs, myri] trim trailing whitespace
Diffstat (limited to 'drivers/net/myri10ge')
-rw-r--r--drivers/net/myri10ge/myri10ge_mcp.h14
-rw-r--r--drivers/net/myri10ge/myri10ge_mcp_gen_header.h12
2 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/myri10ge/myri10ge_mcp.h b/drivers/net/myri10ge/myri10ge_mcp.h
index ac23e18db63d..0a6cae6cb186 100644
--- a/drivers/net/myri10ge/myri10ge_mcp.h
+++ b/drivers/net/myri10ge/myri10ge_mcp.h
@@ -35,17 +35,17 @@ struct mcp_cmd_response {
35 u32 result; 35 u32 result;
36}; 36};
37 37
38/* 38/*
39 * flags used in mcp_kreq_ether_send_t: 39 * flags used in mcp_kreq_ether_send_t:
40 * 40 *
41 * The SMALL flag is only needed in the first segment. It is raised 41 * The SMALL flag is only needed in the first segment. It is raised
42 * for packets that are total less or equal 512 bytes. 42 * for packets that are total less or equal 512 bytes.
43 * 43 *
44 * The CKSUM flag must be set in all segments. 44 * The CKSUM flag must be set in all segments.
45 * 45 *
46 * The PADDED flags is set if the packet needs to be padded, and it 46 * The PADDED flags is set if the packet needs to be padded, and it
47 * must be set for all segments. 47 * must be set for all segments.
48 * 48 *
49 * The MXGEFW_FLAGS_ALIGN_ODD must be set if the cumulative 49 * The MXGEFW_FLAGS_ALIGN_ODD must be set if the cumulative
50 * length of all previous segments was odd. 50 * length of all previous segments was odd.
51 */ 51 */
@@ -111,7 +111,7 @@ enum myri10ge_mcp_cmd_type {
111 MXGEFW_CMD_SET_BIG_BUFFER_SIZE, /* in bytes, power of 2 */ 111 MXGEFW_CMD_SET_BIG_BUFFER_SIZE, /* in bytes, power of 2 */
112 MXGEFW_CMD_SET_SMALL_BUFFER_SIZE, /* in bytes */ 112 MXGEFW_CMD_SET_SMALL_BUFFER_SIZE, /* in bytes */
113 113
114 /* Parameters which refer to lanai SRAM addresses where the 114 /* Parameters which refer to lanai SRAM addresses where the
115 * driver must issue PIO writes for various things */ 115 * driver must issue PIO writes for various things */
116 116
117 MXGEFW_CMD_GET_SEND_OFFSET, 117 MXGEFW_CMD_GET_SEND_OFFSET,
@@ -128,7 +128,7 @@ enum myri10ge_mcp_cmd_type {
128 128
129 /* Parameters which refer to rings stored in the host, 129 /* Parameters which refer to rings stored in the host,
130 * and whose size is controlled by the host. Note that 130 * and whose size is controlled by the host. Note that
131 * all must be physically contiguous and must contain 131 * all must be physically contiguous and must contain
132 * a power of 2 number of entries. */ 132 * a power of 2 number of entries. */
133 133
134 MXGEFW_CMD_SET_INTRQ_SIZE, /* in bytes */ 134 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 1d3a35f10789..487f7792fd46 100644
--- a/drivers/net/myri10ge/myri10ge_mcp_gen_header.h
+++ b/drivers/net/myri10ge/myri10ge_mcp_gen_header.h
@@ -7,17 +7,17 @@
7 * the .data section, because some fields needs to be initialized at 7 * the .data section, because some fields needs to be initialized at
8 * compile time. 8 * compile time.
9 * The 32bit word at offset MX_HEADER_PTR_OFFSET in the mcp must 9 * The 32bit word at offset MX_HEADER_PTR_OFFSET in the mcp must
10 * contains the location of the header. 10 * contains the location of the header.
11 * 11 *
12 * Typically a MCP will start with the following: 12 * Typically a MCP will start with the following:
13 * .text 13 * .text
14 * .space 52 ! to help catch MEMORY_INT errors 14 * .space 52 ! to help catch MEMORY_INT errors
15 * bt start ! jump to real code 15 * bt start ! jump to real code
16 * nop 16 * nop
17 * .long _gen_mcp_header 17 * .long _gen_mcp_header
18 * 18 *
19 * The source will have a definition like: 19 * The source will have a definition like:
20 * 20 *
21 * mcp_gen_header_t gen_mcp_header = { 21 * mcp_gen_header_t gen_mcp_header = {
22 * .header_length = sizeof(mcp_gen_header_t), 22 * .header_length = sizeof(mcp_gen_header_t),
23 * .mcp_type = MCP_TYPE_XXX, 23 * .mcp_type = MCP_TYPE_XXX,
@@ -46,11 +46,11 @@ struct mcp_gen_header {
46 unsigned string_specs_len; 46 unsigned string_specs_len;
47 47
48 /* Fields above this comment are guaranteed to be present. 48 /* Fields above this comment are guaranteed to be present.
49 * 49 *
50 * Fields below this comment are extensions added in later versions 50 * Fields below this comment are extensions added in later versions
51 * of this struct, drivers should compare the header_length against 51 * of this struct, drivers should compare the header_length against
52 * offsetof(field) to check wether a given MCP implements them. 52 * offsetof(field) to check wether a given MCP implements them.
53 * 53 *
54 * Never remove any field. Keep everything naturally align. 54 * Never remove any field. Keep everything naturally align.
55 */ 55 */
56}; 56};