net: dsa: mv88e6xxx: Introduce _mv88e6xxx_phy_page_{read, write}
authorPatrick Uiterwijk <patrick@puiterwijk.org>
Wed, 30 Mar 2016 01:39:40 +0000 (01:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2016 19:12:57 +0000 (15:12 -0400)
commit75baacf00fb471c3b01e604357ab53da7cf72dd4
treee2806ff8a1b21600168f2dec188fde868e93a2ce
parent4833a0096a914d24a4c54b5aa6a664a50e6dd076
net: dsa: mv88e6xxx: Introduce _mv88e6xxx_phy_page_{read, write}

Add versions of the phy_page_read and _write functions to
be used in a context where the SMI mutex is held.

Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c