]> git.sur5r.net Git - u-boot/commit
net: keystone_net: use general get link function
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>
Fri, 17 Oct 2014 17:44:36 +0000 (20:44 +0300)
committerTom Rini <trini@ti.com>
Thu, 23 Oct 2014 15:27:28 +0000 (11:27 -0400)
commita4d2adee110d1534705d84c573a41e6d7877f0d7
tree76da94187c5033acbfbe637dbad3ba926a9e1e0b
parent3fe93623cc5f5c5373fe0c0b7fe331f8800f4350
net: keystone_net: use general get link function

The phy framework has function to get link, so use it
instead of own implementation.

There is no reason to check SGMII link while sending each
packet, phy link is enough. Check SGMII link only while
ethernet open.

Acked-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
drivers/net/keystone_net.c
include/configs/ks2_evm.h