linux-bl808/drivers/net/phy
Maxime Chevallier ac3f553334 net: phy: Extract genphy_c45_pma_read_abilities from marvell10g
Marvell 10G PHY driver has a generic way of initializing the supported
link modes by reading the PHY's C45 PMA abilities. This can be made
generic, since these registers are part of the 802.3 specifications.

This commit extracts the config_init link_mode initialization code from
marvell10g and uses it to introduce the genphy_c45_pma_read_abilities
function.

Only PMA modes are read, it's still up to the caller to set the Pause
parameters.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-13 19:17:53 -05:00
..
amd.c
aquantia.c net: phy: aquantia: add support for AQCS109 2019-02-09 19:03:26 -08:00
asix.c
at803x.c net: phy: at803x: Use helpers to access MMD PHY registers 2019-01-27 13:26:37 -08:00
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h
bcm7xxx.c
bcm63xx.c
bcm87xx.c
broadcom.c
cicada.c
cortina.c
davicom.c
dp83tc811.c net: phy: make use of new MMD accessors 2019-02-06 09:52:43 -08:00
dp83640.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-08 15:00:17 -08:00
dp83640_reg.h
dp83822.c
dp83848.c
dp83867.c net: phy: make use of new MMD accessors 2019-02-06 09:52:43 -08:00
et1011c.c
fixed_phy.c net: fixed-phy: Add fixed_phy_register_with_gpiod() API 2019-02-07 18:11:58 -08:00
icplus.c
intel-xway.c
Kconfig
lxt.c
Makefile
marvell.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-08 15:00:17 -08:00
marvell10g.c net: phy: Extract genphy_c45_pma_read_abilities from marvell10g 2019-02-13 19:17:53 -05:00
mdio-bcm-iproc.c
mdio-bcm-unimac.c
mdio-bitbang.c
mdio-boardinfo.c
mdio-boardinfo.h
mdio-cavium.c
mdio-cavium.h
mdio-gpio.c
mdio-hisi-femac.c
mdio-i2c.c
mdio-i2c.h
mdio-moxart.c
mdio-mscc-miim.c
mdio-mux-bcm-iproc.c
mdio-mux-gpio.c
mdio-mux-mmioreg.c
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c
mdio-thunder.c
mdio-xgene.c
mdio-xgene.h
mdio_bus.c
mdio_device.c
meson-gxl.c
micrel.c
microchip.c
microchip_t1.c
mscc.c
national.c
phy-c45.c net: phy: Extract genphy_c45_pma_read_abilities from marvell10g 2019-02-13 19:17:53 -05:00
phy-core.c net: phy: Move of_set_phy_eee_broken to phy-core.c 2019-02-13 19:17:53 -05:00
phy.c net: phy: make use of new MMD accessors 2019-02-06 09:52:43 -08:00
phy_device.c net: phy: Move of_set_phy_eee_broken to phy-core.c 2019-02-13 19:17:53 -05:00
phy_led_triggers.c
phylink.c net: phylink: add phylink_init_eee() helper 2019-02-12 12:22:41 -05:00
qsemi.c
realtek.c net: phy: realtek: add generic Realtek PHY driver 2019-02-03 09:37:08 -08:00
rockchip.c
sfp-bus.c
sfp.c
sfp.h
smsc.c
spi_ks8995.c
ste10Xp.c
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c