ar8216: simplify PHY fixup/init
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 20 Nov 2014 15:19:04 +0000 (15:19 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 20 Nov 2014 15:19:04 +0000 (15:19 +0000)
commit8307c82c6e31ae0c9babe93f5e474068fb712c72
tree0b87eec00743460ca08858d2abaf3328ac3cd024
parent6109d1b308827db159dae32b45d389fcf423d614
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