[PATCH v3] net/phy: tune get_phy_c45_ids to support more c45 phy

2015-06-26 Thread Shengzhou Liu
As some C45 10G PHYs(e.g. Cortina CS4315/CS4340 PHY) have zero Devices In package, current driver can't get correct devices_in_package value by non-zero Devices In package. so let's probe more with zero Devices In package to support more C45 PHYs. Signed-off-by: Shengzhou Liu shengzhou

[PATCH] net/phy: Add support for Realtek RTL8211F

2015-06-18 Thread Shengzhou Liu
RTL8211F has different register definitions from RTL8211E. Specially it needs to enable TXDLY in case of RGMII. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- drivers/net/phy/realtek.c | 68 ++- 1 file changed, 67 insertions(+), 1

[PATCH] net/phy: refactor RTL8211F initialization

2015-04-22 Thread Shengzhou Liu
RTL8211F needs to enalbe TXDLY for RGMII during phy initialization, so move it to rtl8211f_config for early initialization. Signed-off-by: Shengzhou Liu shengzhou@freescale.com cc: Joe Hershberger joe.hershber...@gmail.com --- drivers/net/phy/realtek.c | 25 + 1 file