phy: move fixed_phy MII register generation to a library
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 23 Jun 2016 13:50:05 +0000 (14:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jun 2016 14:40:57 +0000 (10:40 -0400)
commit5ae68b0ce134f9cadae2668da82d5f9a77523314
tree84197594d3be3f377a2a14963a3968b6ec0631bf
parent5db15872c5370d9ae7b1d1c972a48b598b23b824
phy: move fixed_phy MII register generation to a library

Move the fixed_phy MII register generation to a library to allow other
software phy implementations to use this code.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/fixed_phy.c
drivers/net/phy/swphy.c [new file with mode: 0644]
drivers/net/phy/swphy.h [new file with mode: 0644]