net: designware: Split the link init into a separate function
authorSimon Glass <sjg@chromium.org>
Wed, 11 Jan 2017 10:46:09 +0000 (11:46 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Jan 2017 03:23:50 +0000 (20:23 -0700)
commitf63f28ee2520263f5c78f64f1d404b2c329ffe87
tree5fa231091b79799036a95a1cde2d05df18612f55
parent0ea38db90caa55e8366c9bef4214ab52b3fedf6a
net: designware: Split the link init into a separate function

With rockchip we need to make adjustments after the link speed is set but
before enabling received/transmit. In preparation for this, split these
two pieces into separate functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/designware.c