]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: rename PHY PPU accessors
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 26 May 2017 22:03:06 +0000 (18:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 May 2017 16:35:00 +0000 (12:35 -0400)
commitc68de61a748d0c8258b732656443cb758e3a10d0
treef62ad21bf4c1f04ced0fc6634e0b099a2022d063
parent4e8e6d56884ada1145d17da72190c986bd9e95d3
net: dsa: mv88e6xxx: rename PHY PPU accessors

Make it clear that mv88e6xxx_phy_ppu_{read,write} are an implementation
of the .phy_{read,write} operations, by renaming them with the mv88e6185
prefix, since 88E6185 it is the reference switch model supported in an
upstream board (ZII Dev Rev B), which makes use of them.

Distinguish the signatures of implementation specific and generic PHY
functions in the phy.h header.

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/phy.c
drivers/net/dsa/mv88e6xxx/phy.h