OpenCloudOS-Kernel/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 staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-defines.h staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-mdio.c staging: octeon-ethernet: fix incorrect PHY mode 2019-03-26 05:54:18 +09:00
ethernet-mdio.h staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-mem.c staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-mem.h staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-rgmii.c staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-rx.c staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-rx.h staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-sgmii.c staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-spi.c staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-tx.c staging: octeon: fix build failure with XFRM enabled 2018-12-24 14:13:58 -08:00
ethernet-tx.h staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-util.h staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
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