diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/net/greth.h | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'drivers/net/greth.h')
-rw-r--r-- | drivers/net/greth.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/greth.h b/drivers/net/greth.h index 03ad903cd676..9a0040dee4da 100644 --- a/drivers/net/greth.h +++ b/drivers/net/greth.h | |||
@@ -23,6 +23,7 @@ | |||
23 | #define GRETH_BD_LEN 0x7FF | 23 | #define GRETH_BD_LEN 0x7FF |
24 | 24 | ||
25 | #define GRETH_TXEN 0x1 | 25 | #define GRETH_TXEN 0x1 |
26 | #define GRETH_INT_TE 0x2 | ||
26 | #define GRETH_INT_TX 0x8 | 27 | #define GRETH_INT_TX 0x8 |
27 | #define GRETH_TXI 0x4 | 28 | #define GRETH_TXI 0x4 |
28 | #define GRETH_TXBD_STATUS 0x0001C000 | 29 | #define GRETH_TXBD_STATUS 0x0001C000 |
@@ -35,6 +36,7 @@ | |||
35 | #define GRETH_TXBD_ERR_UE 0x4000 | 36 | #define GRETH_TXBD_ERR_UE 0x4000 |
36 | #define GRETH_TXBD_ERR_AL 0x8000 | 37 | #define GRETH_TXBD_ERR_AL 0x8000 |
37 | 38 | ||
39 | #define GRETH_INT_RE 0x1 | ||
38 | #define GRETH_INT_RX 0x4 | 40 | #define GRETH_INT_RX 0x4 |
39 | #define GRETH_RXEN 0x2 | 41 | #define GRETH_RXEN 0x2 |
40 | #define GRETH_RXI 0x8 | 42 | #define GRETH_RXI 0x8 |
@@ -75,9 +77,6 @@ | |||
75 | */ | 77 | */ |
76 | #define MAX_FRAME_SIZE 1520 | 78 | #define MAX_FRAME_SIZE 1520 |
77 | 79 | ||
78 | /* Flags */ | ||
79 | #define GRETH_FLAG_RX_CSUM 0x1 | ||
80 | |||
81 | /* GRETH APB registers */ | 80 | /* GRETH APB registers */ |
82 | struct greth_regs { | 81 | struct greth_regs { |
83 | u32 control; | 82 | u32 control; |
@@ -131,7 +130,6 @@ struct greth_private { | |||
131 | unsigned int duplex; | 130 | unsigned int duplex; |
132 | 131 | ||
133 | u32 msg_enable; | 132 | u32 msg_enable; |
134 | u32 flags; | ||
135 | 133 | ||
136 | u8 phyaddr; | 134 | u8 phyaddr; |
137 | u8 multicast; | 135 | u8 multicast; |