aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r--drivers/net/sky2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index 9f89000e5ad5..d7a94d62d80f 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -67,13 +67,9 @@
67 * a receive requires one (or two if using 64 bit dma). 67 * a receive requires one (or two if using 64 bit dma).
68 */ 68 */
69 69
70#ifdef CONFIG_SKY2_EC_A1
71#define is_ec_a1(hw) \ 70#define is_ec_a1(hw) \
72 ((hw)->chip_id == CHIP_ID_YUKON_EC && \ 71 unlikely((hw)->chip_id == CHIP_ID_YUKON_EC && \
73 (hw)->chip_rev == CHIP_REV_YU_EC_A1) 72 (hw)->chip_rev == CHIP_REV_YU_EC_A1)
74#else
75#define is_ec_a1(hw) 0
76#endif
77 73
78#define RX_LE_SIZE 256 74#define RX_LE_SIZE 256
79#define RX_LE_BYTES (RX_LE_SIZE*sizeof(struct sky2_rx_le)) 75#define RX_LE_BYTES (RX_LE_SIZE*sizeof(struct sky2_rx_le))