From: Grant Grundler <grundler@google.com>
Date: Tue, 15 Nov 2011 07:12:39 +0000 (+0000)
Subject: net-next:asix:PHY_MODE_RTL8211CL should be 0xC
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3486140e30fcc16c0b8cd9545fbe5e2e66bf6941;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

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>
---

diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index e81e22e3d1d2..873860d46e9e 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 {