linux/drivers/staging/octeon
Aaro Koskinen 9498da46d1 staging: octeon-ethernet: fix incorrect PHY mode
When connecting PHY, we set the mode to PHY_INTERFACE_MODE_GMII which is
not always correct. Specifically on boards where RGMII_RXID is needed
networking now longer works with at803x after commit 6d4cd041f0
("net: phy: at803x: disable delay only for RGMII mode").

Fix by passing the correct mode. Tested on EdgeRouter Lite
(RGMII_RXID, at803x PHY) and D-Link DSR-500N (RGMII, broadcom PHY).

Fixes: 6d4cd041f0 ("net: phy: at803x: disable delay only for RGMII mode")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-26 05:54:18 +09:00
..
Kconfig
Makefile
ethernet-defines.h
ethernet-mdio.c staging: octeon-ethernet: fix incorrect PHY mode 2019-03-26 05:54:18 +09:00
ethernet-mdio.h
ethernet-mem.c
ethernet-mem.h
ethernet-rgmii.c
ethernet-rx.c
ethernet-rx.h
ethernet-sgmii.c
ethernet-spi.c
ethernet-tx.c
ethernet-tx.h
ethernet-util.h
ethernet.c staging: octeon-ethernet: fix incorrect PHY mode 2019-03-26 05:54:18 +09:00
octeon-ethernet.h staging: octeon-ethernet: fix incorrect PHY mode 2019-03-26 05:54:18 +09:00