linux_dsm_epyc7002/drivers/net/dsa
Vivien Didelot 06d7b5c3ac net: dsa: qca8k: fix EEE init
The qca8k obviously copied code from the sf2 driver as how to set EEE:

    if (e->eee_enabled) {
        p->eee_enabled = qca8k_eee_init(ds, port, phydev);
        if (!p->eee_enabled)
            ret = -EOPNOTSUPP;
    }

But it did not use the same logic for the EEE init routine, which is
"Returns 0 if EEE was not enabled, or 1 otherwise". This results in
returning -EOPNOTSUPP on success and caching EEE enabled on failure.

This patch fixes the returned value of qca8k_eee_init.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-01 20:09:09 -07:00
..
b53 net: dsa: b53: Add missing ARL entries for BCM53125 2017-07-20 15:21:54 -07:00
microchip dsa: add DSA switch driver for Microchip KSZ9477 2017-05-31 20:56:31 -04:00
mv88e6xxx net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
bcm_sf2_cfp.c net: break include loop netdevice.h, dsa.h, devlink.h 2017-03-28 22:46:04 -07:00
bcm_sf2_regs.h net: dsa: bcm_sf2: Add CFP registers definitions 2017-01-30 14:49:58 -05:00
bcm_sf2.c net: dsa: bcm_sf2: Remove special handling of "internal" phy-mode 2017-06-23 15:06:43 -04:00
bcm_sf2.h net: dsa: bcm_sf2: Add support for ethtool::rxnfc 2017-01-30 14:49:58 -05:00
dsa_loop_bdinfo.c net: dsa: Mock-up driver 2017-04-01 12:39:32 -07:00
dsa_loop.c net: dsa: loop: Implement ethtool statistics 2017-06-16 12:43:48 -04:00
dsa_loop.h net: dsa: Mock-up driver 2017-04-01 12:39:32 -07:00
Kconfig dsa: add DSA switch driver for Microchip KSZ9477 2017-05-31 20:56:31 -04:00
lan9303_i2c.c net: dsa: lan9303: MDIO access phy registers directly 2017-07-30 19:23:29 -07:00
lan9303_mdio.c net: dsa: lan9303: MDIO access phy registers directly 2017-07-30 19:23:29 -07:00
lan9303-core.c net: dsa: lan9303: MDIO access phy registers directly 2017-07-30 19:23:29 -07:00
lan9303.h net: dsa: lan9303: MDIO access phy registers directly 2017-07-30 19:23:29 -07:00
Makefile dsa: add DSA switch driver for Microchip KSZ9477 2017-05-31 20:56:31 -04:00
mt7530.c net: dsa: Remove master_netdev and use dst->cpu_dp->netdev 2017-06-13 16:35:02 -04:00
mt7530.h net-next: dsa: add dsa support for Mediatek MT7530 switch 2017-04-07 13:52:11 -07:00
mv88e6060.c net: dsa: store CPU port pointer in the tree 2017-05-17 14:19:12 -04:00
mv88e6060.h net: dsa: Keep the mii bus and address in the private structure 2016-04-13 18:15:23 -04:00
qca8k.c net: dsa: qca8k: fix EEE init 2017-08-01 20:09:09 -07:00
qca8k.h net: dsa: qca8k: use dsa_port's bridge pointer 2017-01-29 18:42:46 -05:00