drivers: net: fsl_enetc: move PCS and PHY config to probe
authorAlex Marginean <alexandru.marginean@nxp.com>
Thu, 14 Nov 2019 16:58:46 +0000 (18:58 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:43 +0000 (09:47 -0600)
commita931f78307300070e3a6cb95958f7dcc5fce3bb6
tree0a1f32ef84a1737ce56bd5de30700e4670aca75e
parent307f8a6d1f034fc23aa7a42fa121f7fa011a33e4
drivers: net: fsl_enetc: move PCS and PHY config to probe

This reduces the time needed to establish a link as we don't reset the link
each time the interface is used.  Our Link capabilities do not change at
run-time so there is no need to re-apply PHY configuration each time.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fsl_enetc.c