ar8216: factor out PHY init code into a generic function
authorFelix Fietkau <nbd@openwrt.org>
Wed, 19 Nov 2014 20:17:52 +0000 (20:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 19 Nov 2014 20:17:52 +0000 (20:17 +0000)
commit898712f43f30f464e0a31f8d3f1e9e272eafb6aa
tree540fa6ee046a56f0c642f006ca2a2ff306cb8f8e
parent20baeb55954eb896071e76410e574ee44239c40b
ar8216: factor out PHY init code into a generic function

PHY init code in the switch-specific hw_init functions is mainly
identical. Factor it out into a generic ar8xxx_phy_init function.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43331
target/linux/generic/files/drivers/net/phy/ar8216.c