linux/drivers/net/dsa
Egil Hjelmeland 0a967b4a8e net: dsa: lan9303: refactor lan9303_get_ethtool_stats
In lan9303_get_ethtool_stats: Get rid of 0x400 constant magic
by using new lan9303_read_switch_reg() inside loop.
Reduced scope of two variables.

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-07 14:18:01 -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: dsa: rename switch EEE ops 2017-08-01 20:09:10 -07:00
bcm_sf2.c net: dsa: bcm_sf2: dst in not an array 2017-08-03 09:30:11 -07:00
bcm_sf2.h net: dsa: bcm_sf2: Add support for ethtool::rxnfc 2017-01-30 14:49:58 -05: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
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
dsa_loop_bdinfo.c 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-core.c net: dsa: lan9303: refactor lan9303_get_ethtool_stats 2017-08-07 14:18:01 -07:00
lan9303.h net: dsa: lan9303: MDIO access phy registers directly 2017-07-30 19:23:29 -07: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
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: rename switch EEE ops 2017-08-01 20:09:10 -07:00
qca8k.h net: dsa: call phy_init_eee in DSA layer 2017-08-01 20:09:10 -07:00