diff options
author | Dayanidhi Sreenivasan <dayanidhi.sreenivasan@gmail.com> | 2012-11-11 17:07:55 -0500 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2012-11-11 17:19:08 -0500 |
commit | ac50974b37f2763aa8c6e6626e17694af468b9ad (patch) | |
tree | 75fefe5178295b7257a3974fa72a2a91aacc9845 /drivers/net/ethernet/realtek/r8169.c | |
parent | d4185bbf62a5d8d777ee445db1581beb17882a07 (diff) |
r8169: remove unused macros.
Signed-off-by: Dayanidhi Sreenivasan <dayanidhi.sreenivasan@gmail.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/ethernet/realtek/r8169.c')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 50a55fb10368..2ffdce342114 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
@@ -84,17 +84,12 @@ static const int multicast_filter_limit = 32; | |||
84 | #define R8169_NAPI_WEIGHT 64 | 84 | #define R8169_NAPI_WEIGHT 64 |
85 | #define NUM_TX_DESC 64 /* Number of Tx descriptor registers */ | 85 | #define NUM_TX_DESC 64 /* Number of Tx descriptor registers */ |
86 | #define NUM_RX_DESC 256 /* Number of Rx descriptor registers */ | 86 | #define NUM_RX_DESC 256 /* Number of Rx descriptor registers */ |
87 | #define RX_BUF_SIZE 1536 /* Rx Buffer size */ | ||
88 | #define R8169_TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc)) | 87 | #define R8169_TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc)) |
89 | #define R8169_RX_RING_BYTES (NUM_RX_DESC * sizeof(struct RxDesc)) | 88 | #define R8169_RX_RING_BYTES (NUM_RX_DESC * sizeof(struct RxDesc)) |
90 | 89 | ||
91 | #define RTL8169_TX_TIMEOUT (6*HZ) | 90 | #define RTL8169_TX_TIMEOUT (6*HZ) |
92 | #define RTL8169_PHY_TIMEOUT (10*HZ) | 91 | #define RTL8169_PHY_TIMEOUT (10*HZ) |
93 | 92 | ||
94 | #define RTL_EEPROM_SIG cpu_to_le32(0x8129) | ||
95 | #define RTL_EEPROM_SIG_MASK cpu_to_le32(0xffff) | ||
96 | #define RTL_EEPROM_SIG_ADDR 0x0000 | ||
97 | |||
98 | /* write/read MMIO register */ | 93 | /* write/read MMIO register */ |
99 | #define RTL_W8(reg, val8) writeb ((val8), ioaddr + (reg)) | 94 | #define RTL_W8(reg, val8) writeb ((val8), ioaddr + (reg)) |
100 | #define RTL_W16(reg, val16) writew ((val16), ioaddr + (reg)) | 95 | #define RTL_W16(reg, val16) writew ((val16), ioaddr + (reg)) |