Re: [PATCH net-next 1/1] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-21 Thread Marco Hartmann
On 19.08.19 21:51, Heiner Kallweit wrote: > On 19.08.2019 19:52, Marco Hartmann wrote: >> and call it from phy_config_aneg(). >> > Here something went wrong. > >> commit 34786005eca3 ("net: phy: prevent PHYs w/o Clause 22 regs from >> calling genphy_config

[PATCH v2 net] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-21 Thread Marco Hartmann
("net: phy: replace genphy_10g_driver with genphy_c45_driver") Signed-off-by: Marco Hartmann --- Changes in v2: - corrected commit message - reordered variables --- --- drivers/net/phy/phy-c45.c | 26 ++ drivers/net/phy/phy.c | 2 +- include/linux/phy.h |

[PATCH v2 net-next] net: fec: add C45 MDIO read/write support

2019-08-21 Thread Marco Hartmann
accesses are used as before. Signed-off-by: Marco Hartmann --- Changes in v2: - use bool variable is_c45 - add missing goto statements --- --- drivers/net/ethernet/freescale/fec_main.c | 70 --- 1 file changed, 64 insertions(+), 6 deletions(-) diff --git a/drivers

Re: [PATCH net-next 1/1] fec: add C45 MDIO read/write support

2019-08-21 Thread Marco Hartmann
On 20.08.19 04:08, Andy Duan wrote: > From: Marco Hartmann Sent: Tuesday, August 20, 2019 1:11 AM >> IEEE 802.3ae clause 45 defines a modified MDIO protocol that uses a two >> staged access model in order to increase the address space. >> >> This patch adds support

[PATCH net-next 1/1] fec: add C45 MDIO read/write support

2019-08-19 Thread Marco Hartmann
accesses are used as before. Co-developed-by: Christian Herber Signed-off-by: Christian Herber Signed-off-by: Marco Hartmann --- drivers/net/ethernet/freescale/fec_main.c | 65 --- 1 file changed, 59 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet

[PATCH net-next 0/1] net: fec: add C45 MDIO read/write support

2019-08-19 Thread Marco Hartmann
write operations to the FEC driver. Marco Hartmann (1): fec: add C45 MDIO read/write support drivers/net/ethernet/freescale/fec_main.c | 65 --- 1 file changed, 59 insertions(+), 6 deletions(-) -- 2.7.4

[PATCH net-next 1/1] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-19 Thread Marco Hartmann
1000BaseT. Fixes: 34786005eca3 ("net: phy: prevent PHYs w/o Clause 22 regs from calling genphy_config_aneg") Signed-off-by: Marco Hartmann --- drivers/net/phy/phy-c45.c | 26 ++ drivers/net/phy/phy.c | 2 +- include/linux/phy.h | 1 + 3 files changed,

[PATCH net-next 0/1] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-19 Thread Marco Hartmann
onfig_aneg() func, so that phy_start_aneg() ultimately fails such that phy_error() is called, producing the above warning. This patch adds the function genphy_c45_config_aneg(), which allows phy_start_aneg() to work correctly for C45 phys. Marco Hartmann (1): Add genphy_c45_config_aneg() funct