net: dsa: mv88e6xxx: add PPU operations
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 5 Dec 2016 22:30:28 +0000 (17:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2016 16:32:28 +0000 (11:32 -0500)
commita199d8b6956f8973d09d684fc71300889c26e8e4
treee118cf13a0d5a96ea0c57b6b42084df79996bd2b
parent17e708baf7f24192cb1c7c8dd6b32d1941dfb0e8
net: dsa: mv88e6xxx: add PPU operations

Some Marvell chips can enable/disable the PPU on demand. This is needed
to access the PHY registers when there is no indirection mechanism.

Add two new ppu_enable and ppu_disable ops to describe this and finally
get rid of the MV88E6XXX_FLAG_PPU* flags.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/global1.c
drivers/net/dsa/mv88e6xxx/global1.h
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h