mirror-linux/drivers/net/phy
Russell King (Oracle) df0acdc59b net: phylink: fix ksettings_set() ethtool call
While testing a Fiberstore SFP-10G-T module (which uses 10GBASE-R with
rate adaption) in a Clearfog platform (which can't do that) it was
found that the PHYs advertisement was not limited according to the
hosts capabilities when using ethtool to change it.

Fix this by ensuring that we mask the advertisement with the computed
support mask as the very first thing we do.

Fixes: cbc1bb1e46 ("net: phylink: simplify phy case for ksettings_set method")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-15 10:31:23 +01:00
..
mscc net: phy: mscc: fix deadlock in phy_ethtool_{get,set}_wol() 2023-03-15 21:33:22 -07:00
Kconfig net: phy: hide the PHYLIB_LEDS knob 2023-04-26 11:54:50 +02:00
Makefile drivers/net/phy: add driver for Microchip LAN867x 10BASE-T1S PHY 2023-04-23 13:40:59 +01:00
adin.c
adin1100.c
amd.c
aquantia.h
aquantia_hwmon.c net: phy: aquantia: constify pointers to hwmon_channel_info 2023-04-09 19:02:09 -07:00
aquantia_main.c net: phy: aquantia: add AQR112 and AQR412 PHY IDs 2022-11-15 20:34:27 -08:00
at803x.c net: phy: at803x: Replace of_gpio.h with what indeed is used 2023-03-19 10:40:54 +00:00
ax88796b.c
bcm-cygnus.c
bcm-phy-lib.c
bcm-phy-lib.h net: phy: bcm7xx: Correct read from expansion register 2023-05-09 20:25:52 -07:00
bcm-phy-ptp.c
bcm7xxx.c net: phy: bcm7xx: Correct read from expansion register 2023-05-09 20:25:52 -07:00
bcm63xx.c
bcm87xx.c
bcm54140.c net: phy: bcm54140: constify pointers to hwmon_channel_info 2023-04-09 19:02:09 -07:00
bcm84881.c
broadcom.c
cicada.c
cortina.c
davicom.c
dp83tc811.c
dp83td510.c
dp83640.c
dp83640_reg.h
dp83822.c net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices 2023-01-28 00:23:58 -08:00
dp83848.c
dp83867.c net: phy: dp83867: add w/a for packet errors seen with short cables 2023-05-12 08:44:43 +01:00
dp83869.c net: phy: dp83869: fix default value for tx-/rx-internal-delay 2023-03-24 14:52:35 -07:00
et1011c.c
fixed_phy.c
icplus.c
intel-xway.c
linkmode.c
lxt.c
marvell-88x2222.c net: phy: marvell-88x2222: remove unnecessary (void*) conversions 2023-04-25 09:43:50 +01:00
marvell.c net: phy: marvell: Fix inconsistent indenting in led_blink_set 2023-04-24 19:01:47 -07:00
marvell10g.c net: phy: marvell: constify pointers to hwmon_channel_info 2023-04-09 19:02:09 -07:00
mdio-boardinfo.c
mdio-boardinfo.h
mdio-open-alliance.h drivers/net/phy: add helpers to get/set PLCA configuration 2023-01-11 08:35:02 +00:00
mdio_bus.c Driver core changes for 6.3-rc1 2023-02-24 12:58:55 -08:00
mdio_device.c net: mdio: fix unbalanced fwnode reference count in mdio_device_release() 2022-12-06 12:50:00 +01:00
mdio_devres.c net: mdio: fix owner field for mdio buses registered using device-tree 2023-03-19 10:48:35 +00:00
mediatek-ge.c
meson-gxl.c net: phy: meson-gxl: enable edpd tunable support for G12A internal PHY 2023-04-04 18:56:01 -07:00
micrel.c net: micrel: Update the list of supported phys 2023-04-19 18:40:40 -07:00
microchip.c net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver 2023-03-02 22:21:07 -08:00
microchip_t1.c net: phy: microchip: run phy initialization during each link update 2023-01-23 22:34:19 -08:00
microchip_t1s.c drivers/net/phy: add driver for Microchip LAN867x 10BASE-T1S PHY 2023-04-23 13:40:59 +01:00
mii_timestamper.c
motorcomm.c net: phy: motorcomm: uninitialized variables in yt8531_link_change_notify() 2023-02-15 21:23:33 -08:00
mxl-gpy.c net: phy: mxl: constify pointers to hwmon_channel_info 2023-04-09 19:02:09 -07:00
national.c
ncn26000.c drivers/net/phy: add driver for the onsemi NCN26000 10BASE-T1S PHY 2023-01-11 08:35:03 +00:00
nxp-c45-tja11xx.c net: phy: nxp-c45-tja11xx: add remove callback 2023-04-11 15:28:31 +02:00
nxp-cbtx.c net: phy: add basic driver for NXP CBTX PHY 2023-04-21 20:04:09 -07:00
nxp-tja11xx.c net: phy: nxp-tja11xx: constify pointers to hwmon_channel_info 2023-04-09 19:02:09 -07:00
phy-c45.c net: phy: c45: fix network interface initialization failures on xtensa, arm:cubieboard 2023-02-27 11:41:49 -08:00
phy-core.c drivers/net/phy: add the link modes for the 10BASE-T1S Ethernet PHY 2023-01-11 08:35:02 +00:00
phy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-24 10:10:20 -07:00
phy_device.c net: phy: Fix reading LED reg property 2023-04-24 18:13:45 -07:00
phy_led_triggers.c
phylink.c net: phylink: fix ksettings_set() ethtool call 2023-05-15 10:31:23 +01:00
qsemi.c
realtek.c
rockchip.c
sfp-bus.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
sfp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-13 16:04:28 -07:00
sfp.h
smsc.c net: phy: smsc: enable edpd tunable support 2023-04-03 10:08:43 +01:00
spi_ks8995.c net: phy: ks8995: drop of_match_ptr for ID table 2023-03-15 08:11:02 +00:00
ste10Xp.c
swphy.c
swphy.h
teranetics.c
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe 2022-12-30 07:46:10 +00:00