ar8216: simplify PHY fixup/init
authorFelix Fietkau <nbd@openwrt.org>
Thu, 20 Nov 2014 15:19:04 +0000 (15:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 20 Nov 2014 15:19:04 +0000 (15:19 +0000)
commitce4ea24f812a231b471f2b6a1bb5d7d7eface36f
tree0b87eec00743460ca08858d2abaf3328ac3cd024
parent392f273b289a66bb99591c29b56eeec624608adc
ar8216: simplify PHY fixup/init

Move the PHY fixup call to the PHY init loop.
Use ar8xxx_has_gige in the PHY init instead of passing the gigE
capability via function parameter.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43333 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c