]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Rename _phy_ to _mdio_
authorAndrew Lunn <andrew@lunn.ch>
Sat, 4 Jun 2016 19:17:05 +0000 (21:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jun 2016 21:29:54 +0000 (14:29 -0700)
commit00e5fbe57f64c4851d9bfe81ea5bd992c337bcbf
tree9a7ad1b076db937cb9df498df6f433b3ab92e8e9
parent68cdce806aad2239d07a94e9b5820502608b1d33
net: dsa: mv88e6xxx: Rename _phy_ to _mdio_

The switch implements a generic MDIO bus, which could host more than
PHYs. It is conventional to use _mdio_ or _mii_ in the function name,
so rename them. Also postfix make the historically first read/write
function with _direct, to help distinguish it from _indirect and _ppu.

While touching these functions, remove some of the _ prefixes, which
we are deprecating.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c