]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
net-next:asix:PHY_MODE_RTL8211CL should be 0xC
authorGrant Grundler <grundler@google.com>
Tue, 15 Nov 2011 07:12:39 +0000 (07:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Nov 2011 21:26:05 +0000 (16:26 -0500)
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>
drivers/net/usb/asix.c

index e81e22e3d1d2fcf84be504403002b52d492a01d8..873860d46e9ed2dad7d3f8e9e32eebe97ef68c5c 100644 (file)
 #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 {