linux_dsm_epyc7002/drivers/net/ethernet/ibm/emac
Christian Lamparter 9065bc386f net: emac: fix and unify emac_mdio functions
emac_mdio_read_link() was not copying the requested phy settings
back into the emac driver's own phy api. This has caused a link
speed mismatch issue for the AR8035 as the emac driver kept
trying to connect with 10/100MBps on a 1GBit/s link.

This patch also unifies shared code between emac_setup_aneg()
and emac_mdio_setup_forced(). And furthermore it removes
a chunk of emac_mdio_init_phy(), that was copying the same
data into itself.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-08 10:47:21 -04:00
..
core.c net: emac: fix and unify emac_mdio functions 2017-06-08 10:47:21 -04:00
core.h net: emac: Use net_device_stats from struct net_device 2017-04-07 07:03:33 -07:00
debug.h net: ibm: emac: remove unused sysrq handler for 'c' key 2017-04-05 07:26:18 -07:00
emac.h powerpc/44x: Add more changes for APM821XX EMAC driver 2012-03-06 17:07:42 -05:00
Kconfig net: emac: add support for device-tree based PHY discovery and setup 2017-02-22 15:36:47 -05:00
Makefile net: ibm: emac: remove unused sysrq handler for 'c' key 2017-04-05 07:26:18 -07:00
mal.c net: ibm: emac: remove unused sysrq handler for 'c' key 2017-04-05 07:26:18 -07:00
mal.h emac: aggregation of v1-2 PLB errors for IER register 2014-05-30 16:29:57 -07:00
phy.c drivers: net: emac: add Atheros AR8035 phy initialization code 2016-05-04 13:57:14 -04:00
phy.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
rgmii.c IBM-EMAC: constify of_device_id array 2015-03-17 15:00:23 -04:00
rgmii.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
tah.c IBM-EMAC: constify of_device_id array 2015-03-17 15:00:23 -04:00
tah.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
zmii.c IBM-EMAC: constify of_device_id array 2015-03-17 15:00:23 -04:00
zmii.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00