aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/eexpress.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/eexpress.h')
-rw-r--r--drivers/net/eexpress.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/eexpress.h b/drivers/net/eexpress.h
index 28b431268480..707df3fcfe40 100644
--- a/drivers/net/eexpress.h
+++ b/drivers/net/eexpress.h
@@ -53,8 +53,8 @@
53#define SCB_START 0x0008 53#define SCB_START 0x0008
54 54
55/* Start of buffer region. Everything before this is used for control 55/* Start of buffer region. Everything before this is used for control
56 * structures and the CU configuration program. The memory layout is 56 * structures and the CU configuration program. The memory layout is
57 * determined in eexp_hw_probe(), once we know how much memory is 57 * determined in eexp_hw_probe(), once we know how much memory is
58 * available on the card. 58 * available on the card.
59 */ 59 */
60 60
@@ -64,7 +64,7 @@
64#define RX_BUF_SIZE ((32+ETH_FRAME_LEN+31)&~0x1f) 64#define RX_BUF_SIZE ((32+ETH_FRAME_LEN+31)&~0x1f)
65 65
66/* 66/*
67 * SCB defines 67 * SCB defines
68 */ 68 */
69 69
70/* these functions take the SCB status word and test the relevant status bit */ 70/* these functions take the SCB status word and test the relevant status bit */
@@ -95,7 +95,7 @@
95#define SCB_RUabort 0x0040 95#define SCB_RUabort 0x0040
96 96
97/* 97/*
98 * Command block defines 98 * Command block defines
99 */ 99 */
100 100
101#define Stat_Done(s) ((s&0x8000)!=0) 101#define Stat_Done(s) ((s&0x8000)!=0)
@@ -158,9 +158,9 @@ struct rfd_header {
158 volatile unsigned short srcaddr2; 158 volatile unsigned short srcaddr2;
159 volatile unsigned short srcaddr3; 159 volatile unsigned short srcaddr3;
160 volatile unsigned short length; 160 volatile unsigned short length;
161 161
162 /* This is actually a Receive Buffer Descriptor. The way we 162 /* This is actually a Receive Buffer Descriptor. The way we
163 * arrange memory means that an RBD always follows the RFD that 163 * arrange memory means that an RBD always follows the RFD that
164 * points to it, so they might as well be in the same structure. 164 * points to it, so they might as well be in the same structure.
165 */ 165 */
166 volatile unsigned short actual_count; 166 volatile unsigned short actual_count;