summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorGrant Grundler <grundler@google.com>2011-11-15 07:12:39 +0000
committerDavid S. Miller <davem@davemloft.net>2011-11-15 16:26:05 -0500
commit3486140e30fcc16c0b8cd9545fbe5e2e66bf6941 (patch)
tree8fcb4bf4c5d995e4c6cd0e2cd0d87a092c3f3415 /drivers/net/usb
parenteec205719e97c95a422d0aa384d0517f6c74fc0a (diff)
downloadop-kernel-dev-3486140e30fcc16c0b8cd9545fbe5e2e66bf6941.zip
op-kernel-dev-3486140e30fcc16c0b8cd9545fbe5e2e66bf6941.tar.gz
net-next:asix:PHY_MODE_RTL8211CL should be 0xC
Use correct value for rtl phy support. (rtl phy are in AX88178 devices like NWU220G and USB2-ET1000). Signed-off-by: Allan Chou <allan@asix.com.tw> Tested-by: Grant Grundler <grundler@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/asix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index e81e22e..873860d 100644
--- a/drivers/net/usb/asix.c
+++ b/drivers/net/usb/asix.c
@@ -163,7 +163,7 @@
#define MARVELL_CTRL_TXDELAY 0x0002
#define MARVELL_CTRL_RXDELAY 0x0080
-#define PHY_MODE_RTL8211CL 0x0004
+#define PHY_MODE_RTL8211CL 0x000C
/* This structure cannot exceed sizeof(unsigned long [5]) AKA 20 bytes */
struct asix_data {
OpenPOWER on IntegriCloud