* [PATCH] usb/rtl8150 : Remove duplicated definitions
@ 2012-03-30 10:11 Huajun Li
2012-04-02 3:20 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Huajun Li @ 2012-03-30 10:11 UTC (permalink / raw)
To: David Miller; +Cc: petkan, netdev, Huajun Li
There exist duplicated macro definitions in rtl8150.c, remove them.
Signed-off-by: Huajun Li <huajun.li.lee@gmail.com>
---
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 6dda2fe..d363b31 100644
--- a/drivers/net/usb/rtl8150.c
+++ b/drivers/net/usb/rtl8150.c
@@ -85,32 +85,6 @@
#define INT_CRERR_CNT 0x06
#define INT_COL_CNT 0x07
-/* Transmit status register errors */
-#define TSR_ECOL (1<<5)
-#define TSR_LCOL (1<<4)
-#define TSR_LOSS_CRS (1<<3)
-#define TSR_JBR (1<<2)
-#define TSR_ERRORS (TSR_ECOL | TSR_LCOL | TSR_LOSS_CRS | TSR_JBR)
-/* Receive status register errors */
-#define RSR_CRC (1<<2)
-#define RSR_FAE (1<<1)
-#define RSR_ERRORS (RSR_CRC | RSR_FAE)
-
-/* Media status register definitions */
-#define MSR_DUPLEX (1<<4)
-#define MSR_SPEED (1<<3)
-#define MSR_LINK (1<<2)
-
-/* Interrupt pipe data */
-#define INT_TSR 0x00
-#define INT_RSR 0x01
-#define INT_MSR 0x02
-#define INT_WAKSR 0x03
-#define INT_TXOK_CNT 0x04
-#define INT_RXLOST_CNT 0x05
-#define INT_CRERR_CNT 0x06
-#define INT_COL_CNT 0x07
-
#define RTL8150_MTU 1540
#define RTL8150_TX_TIMEOUT (HZ)
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb/rtl8150 : Remove duplicated definitions
2012-03-30 10:11 [PATCH] usb/rtl8150 : Remove duplicated definitions Huajun Li
@ 2012-04-02 3:20 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-04-02 3:20 UTC (permalink / raw)
To: huajun.li.lee; +Cc: petkan, netdev
From: Huajun Li <huajun.li.lee@gmail.com>
Date: Fri, 30 Mar 2012 18:11:05 +0800
> There exist duplicated macro definitions in rtl8150.c, remove them.
>
> Signed-off-by: Huajun Li <huajun.li.lee@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-02 3:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-30 10:11 [PATCH] usb/rtl8150 : Remove duplicated definitions Huajun Li
2012-04-02 3:20 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.