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)
commit0178b516a2752aeb45ea931fbc10a4f5fcee54b4
tree3d8f8efbe90f852cea94d3dfee77a7c2bd3b8a88
parent43e3e88379e688de4c2165116722d99abaeeeffe
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>
SVN-Revision: 43333
target/linux/generic/files/drivers/net/phy/ar8216.c