diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-05-31 19:23:20 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-06-12 02:40:25 -0400 |
commit | 5a5ba930bf3b3b5e2bfce3be301c34059dc91626 (patch) | |
tree | 06dc80f0450a9b7ed1486407a4aeefbc2e563f29 /drivers/net/mv643xx_eth.c | |
parent | 2beff77b6e02f52376843fbea3df9d620ee24903 (diff) |
mv643xx_eth: nuke port status register bit defines
None of the port status register bit defines are ever used in the
mv643xx_eth driver -- nuke them all.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Dale Farnsworth <dale@farnsworth.org>
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index e61cfd4c052e..a54fb3968f45 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -159,20 +159,6 @@ static char mv643xx_driver_version[] = "1.0"; | |||
159 | #define FORCE_LINK_PASS (1 << 1) | 159 | #define FORCE_LINK_PASS (1 << 1) |
160 | #define SERIAL_PORT_ENABLE (1 << 0) | 160 | #define SERIAL_PORT_ENABLE (1 << 0) |
161 | 161 | ||
162 | /* These macros describe Ethernet Serial Status reg (PSR) bits */ | ||
163 | #define PORT_STATUS_MODE_10_BIT (1 << 0) | ||
164 | #define PORT_STATUS_LINK_UP (1 << 1) | ||
165 | #define PORT_STATUS_FULL_DUPLEX (1 << 2) | ||
166 | #define PORT_STATUS_FLOW_CONTROL (1 << 3) | ||
167 | #define PORT_STATUS_GMII_1000 (1 << 4) | ||
168 | #define PORT_STATUS_MII_100 (1 << 5) | ||
169 | /* PSR bit 6 is undocumented */ | ||
170 | #define PORT_STATUS_TX_IN_PROGRESS (1 << 7) | ||
171 | #define PORT_STATUS_AUTONEG_BYPASSED (1 << 8) | ||
172 | #define PORT_STATUS_PARTITION (1 << 9) | ||
173 | #define PORT_STATUS_TX_FIFO_EMPTY (1 << 10) | ||
174 | /* PSR bits 11-31 are reserved */ | ||
175 | |||
176 | #define PORT_DEFAULT_TRANSMIT_QUEUE_SIZE 800 | 162 | #define PORT_DEFAULT_TRANSMIT_QUEUE_SIZE 800 |
177 | #define PORT_DEFAULT_RECEIVE_QUEUE_SIZE 400 | 163 | #define PORT_DEFAULT_RECEIVE_QUEUE_SIZE 400 |
178 | 164 | ||