]> 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)
commitc5f72ccb7bccc101cfd71f2143877e194f599773
treef62ad21bf4c1f04ced0fc6634e0b099a2022d063
parentd887e6093b01efdf411d71fe82b284839a745c0d
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