linux_dsm_epyc7002/drivers/net/phy
Antoine Tenart 52c5cd1bf0 net: phy: sfp: fix the BR,min computation
In an SFP EEPROM values can be read to get information about a given SFP
module. One of those is the bitrate, which can be determined using a
nominal bitrate in addition with min and max values (in %). The SFP code
currently compute both BR,min and BR,max values thanks to this nominal
and min,max values.

This patch fixes the BR,min computation as the min value should be
subtracted to the nominal one, not added.

Fixes: 9962acf7fb ("sfp: add support for 1000Base-PX and 1000Base-BX10")
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-04 13:30:10 -04:00
..
amd.c
aquantia.c net: phy: aquantia: Utilize genphy_c45_aneg_done() 2018-03-01 21:23:34 -05:00
at803x.c
bcm7xxx.c net: phy: Fix spelling mistake: "advertisment"-> "advertisement" 2018-03-04 18:11:54 -05:00
bcm63xx.c
bcm87xx.c
bcm-cygnus.c
bcm-phy-lib.c net: phy: broadcom: Use strlcpy() for ethtool::get_strings 2018-03-06 11:12:39 -05:00
bcm-phy-lib.h
broadcom.c net: phy: broadcom: add support for BCM89610 PHY 2018-05-04 12:45:55 -04:00
cicada.c
cortina.c net: phy: cortina: Utilize generic functions 2018-03-01 21:23:35 -05:00
davicom.c
dp83640_reg.h
dp83640.c dp83640: Ensure against premature access to PHY registers after reset 2018-04-08 19:58:52 -04:00
dp83822.c
dp83848.c
dp83867.c net: phy: dp83867: Add binding for the CLK_OUT pin muxing option 2018-02-14 15:33:43 -05:00
et1011c.c
fixed_phy.c
icplus.c
intel-xway.c net: phy: intel-xway: add VR9 v1.1 phy ids 2018-03-23 13:19:49 -04:00
Kconfig
lxt.c
Makefile
marvell10g.c net: phy: marvell10g: add thermal hwmon device 2018-04-04 11:24:54 -04:00
marvell.c net: phy: marvell: clear wol event before setting it 2018-04-23 21:06:41 -04:00
mdio_bus.c
mdio_device.c
mdio-bcm-iproc.c
mdio-bcm-unimac.c
mdio-bitbang.c fix typo in command value in drivers/net/phy/mdio-bitbang. 2018-04-01 20:54:41 -04:00
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-mux-bcm-iproc.c
mdio-mux-gpio.c
mdio-mux-mmioreg.c net: phy: mdio-mux: slience probe defer error 2018-03-07 12:39:59 -05:00
mdio-mux.c
mdio-octeon.c
mdio-sun4i.c
mdio-thunder.c
mdio-xgene.c
mdio-xgene.h
meson-gxl.c
micrel.c net: phy: micrel: Use the general dummy stubs for MMD register access 2018-03-22 11:41:08 -04:00
microchip.c lan78xx: PHY DSP registers initialization to address EEE link drop issues with long cables 2018-04-12 21:46:10 -04:00
mscc.c
national.c
phy_device.c net: phy: allow scanning busses with missing phys 2018-04-25 12:59:42 -04:00
phy_led_triggers.c
phy-c45.c net: phy: Fix spelling mistake: "advertisment"-> "advertisement" 2018-03-04 18:11:54 -05:00
phy-core.c net: phy: Fix spelling mistake: "advertisment"-> "advertisement" 2018-03-04 18:11:54 -05:00
phy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
phylink.c sfp/phylink: move module EEPROM ethtool access into netdev core ethtool 2018-03-30 10:11:06 -04:00
qsemi.c
realtek.c net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b 2018-03-22 11:41:07 -04:00
rockchip.c
sfp-bus.c net: phy: sfp: fix the BR,min computation 2018-05-04 13:30:10 -04:00
sfp.c sfp: allow cotsworks modules 2018-03-29 14:30:41 -04:00
sfp.h
smsc.c
spi_ks8995.c drivers/net: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
ste10Xp.c
swphy.c
swphy.h
teranetics.c net: phy: teranetics: Utilize generic functions 2018-03-01 21:23:34 -05:00
uPD60620.c
vitesse.c
xilinx_gmii2rgmii.c