linux/drivers/net/dsa
Vivien Didelot 8c9983a224 net: dsa: mv88e6xxx: factorize PHY access with PPU
Add a MV88E6XXX_FLAG_PPU flag to describe switch models with a PHY
Polling Unit. This allows to merge PPU specific PHY access code in the
share code.

Make the mv88e6xxx_ppu_disable and mv88e6xxx_phy_{read,write}_ppu
functions use unlocked register accesses in order to call them in
mv88e6xxx_phy_{read,write} in a locked context.

Since the PPU code is shared, also remove NET_DSA_MV88E6XXX_NEED_PPU.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-09 14:26:08 -04:00
..
bcm_sf2_regs.h net: dsa: bcm_sf2: Implement FDB operations 2015-10-26 18:14:02 -07:00
bcm_sf2.c net: dsa: constify probed name 2016-04-17 18:54:14 -04:00
bcm_sf2.h net: dsa: pass bridge down to drivers 2016-02-23 14:52:46 -05:00
Kconfig net: dsa: mv88e6xxx: factorize PHY access with PPU 2016-05-09 14:26:08 -04:00
Makefile dsa: Rename mv88e6123_61_65 to mv88e6123 to be consistent 2016-03-14 15:43:10 -04:00
mv88e6xxx.c net: dsa: mv88e6xxx: factorize PHY access with PPU 2016-05-09 14:26:08 -04:00
mv88e6xxx.h net: dsa: mv88e6xxx: factorize PHY access with PPU 2016-05-09 14:26:08 -04:00
mv88e6060.c net: dsa: constify probed name 2016-04-17 18:54:14 -04:00
mv88e6060.h net: dsa: Keep the mii bus and address in the private structure 2016-04-13 18:15:23 -04:00
mv88e6123.c net: dsa: mv88e6xxx: add flags to info 2016-05-09 14:26:08 -04:00
mv88e6131.c net: dsa: mv88e6xxx: factorize PHY access with PPU 2016-05-09 14:26:08 -04:00
mv88e6171.c net: dsa: mv88e6xxx: add flags to info 2016-05-09 14:26:08 -04:00
mv88e6352.c net: dsa: mv88e6xxx: add flags to info 2016-05-09 14:26:08 -04:00