diff options
| -rw-r--r-- | drivers/net/usb/rtl8150.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c index 6dda2fe5b15b..d363b31053da 100644 --- a/drivers/net/usb/rtl8150.c +++ b/drivers/net/usb/rtl8150.c | |||
| @@ -85,32 +85,6 @@ | |||
| 85 | #define INT_CRERR_CNT 0x06 | 85 | #define INT_CRERR_CNT 0x06 |
| 86 | #define INT_COL_CNT 0x07 | 86 | #define INT_COL_CNT 0x07 |
| 87 | 87 | ||
| 88 | /* Transmit status register errors */ | ||
| 89 | #define TSR_ECOL (1<<5) | ||
| 90 | #define TSR_LCOL (1<<4) | ||
| 91 | #define TSR_LOSS_CRS (1<<3) | ||
| 92 | #define TSR_JBR (1<<2) | ||
| 93 | #define TSR_ERRORS (TSR_ECOL | TSR_LCOL | TSR_LOSS_CRS | TSR_JBR) | ||
| 94 | /* Receive status register errors */ | ||
| 95 | #define RSR_CRC (1<<2) | ||
| 96 | #define RSR_FAE (1<<1) | ||
| 97 | #define RSR_ERRORS (RSR_CRC | RSR_FAE) | ||
| 98 | |||
| 99 | /* Media status register definitions */ | ||
| 100 | #define MSR_DUPLEX (1<<4) | ||
| 101 | #define MSR_SPEED (1<<3) | ||
| 102 | #define MSR_LINK (1<<2) | ||
| 103 | |||
| 104 | /* Interrupt pipe data */ | ||
| 105 | #define INT_TSR 0x00 | ||
| 106 | #define INT_RSR 0x01 | ||
| 107 | #define INT_MSR 0x02 | ||
| 108 | #define INT_WAKSR 0x03 | ||
| 109 | #define INT_TXOK_CNT 0x04 | ||
| 110 | #define INT_RXLOST_CNT 0x05 | ||
| 111 | #define INT_CRERR_CNT 0x06 | ||
| 112 | #define INT_COL_CNT 0x07 | ||
| 113 | |||
| 114 | 88 | ||
| 115 | #define RTL8150_MTU 1540 | 89 | #define RTL8150_MTU 1540 |
| 116 | #define RTL8150_TX_TIMEOUT (HZ) | 90 | #define RTL8150_TX_TIMEOUT (HZ) |
