diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-22 03:12:37 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-22 03:12:37 -0400 |
commit | 8725f25acc656c1522d48a6746055099efdaca4c (patch) | |
tree | e241424fa58178ed6c2a95a4eb931ea83dbea33c /drivers/net/gianfar.h | |
parent | c69cccc95fe4b90dde5fe33e6a3b77880b534fa4 (diff) | |
parent | 93ded9b8fd42abe2c3607097963d8de6ad9117eb (diff) |
Merge commit 'origin/master'
Manually fixed up:
drivers/net/fs_enet/fs_enet-main.c
Diffstat (limited to 'drivers/net/gianfar.h')
-rw-r--r-- | drivers/net/gianfar.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h index 5ee518a8782b..d59df98bd636 100644 --- a/drivers/net/gianfar.h +++ b/drivers/net/gianfar.h | |||
@@ -77,13 +77,8 @@ extern const char gfar_driver_name[]; | |||
77 | extern const char gfar_driver_version[]; | 77 | extern const char gfar_driver_version[]; |
78 | 78 | ||
79 | /* These need to be powers of 2 for this driver */ | 79 | /* These need to be powers of 2 for this driver */ |
80 | #ifdef CONFIG_GFAR_NAPI | ||
81 | #define DEFAULT_TX_RING_SIZE 256 | 80 | #define DEFAULT_TX_RING_SIZE 256 |
82 | #define DEFAULT_RX_RING_SIZE 256 | 81 | #define DEFAULT_RX_RING_SIZE 256 |
83 | #else | ||
84 | #define DEFAULT_TX_RING_SIZE 64 | ||
85 | #define DEFAULT_RX_RING_SIZE 64 | ||
86 | #endif | ||
87 | 82 | ||
88 | #define GFAR_RX_MAX_RING_SIZE 256 | 83 | #define GFAR_RX_MAX_RING_SIZE 256 |
89 | #define GFAR_TX_MAX_RING_SIZE 256 | 84 | #define GFAR_TX_MAX_RING_SIZE 256 |
@@ -128,14 +123,8 @@ extern const char gfar_driver_version[]; | |||
128 | 123 | ||
129 | #define DEFAULT_RXTIME 21 | 124 | #define DEFAULT_RXTIME 21 |
130 | 125 | ||
131 | /* Non NAPI Case */ | ||
132 | #ifndef CONFIG_GFAR_NAPI | ||
133 | #define DEFAULT_RX_COALESCE 1 | ||
134 | #define DEFAULT_RXCOUNT 16 | ||
135 | #else | ||
136 | #define DEFAULT_RX_COALESCE 0 | 126 | #define DEFAULT_RX_COALESCE 0 |
137 | #define DEFAULT_RXCOUNT 0 | 127 | #define DEFAULT_RXCOUNT 0 |
138 | #endif /* CONFIG_GFAR_NAPI */ | ||
139 | 128 | ||
140 | #define MIIMCFG_INIT_VALUE 0x00000007 | 129 | #define MIIMCFG_INIT_VALUE 0x00000007 |
141 | #define MIIMCFG_RESET 0x80000000 | 130 | #define MIIMCFG_RESET 0x80000000 |