commit | f6cf4ba555c3e7cae16516203dd8de3fe6a7e6cc | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sat Mar 30 07:22:09 2019 +0100 |
committer | Marek Vasut <marex@denx.de> | Tue Apr 09 18:19:10 2019 +0200 |
tree | 57143c844b19793868d5c89a912339dc20b86f24 | |
parent | fde558e74580c2a268d156970ee1ed9d1a7ed485 [diff] |
net: sh_eth: Initialize PHY in probe() once Reset and initialize the PHY once in the probe() function rather than doing it over and over again is start() function. This requires us to keep the clock enabled while the driver is in use. This significantly reduces the time between transfers as the PHY doesn't have to restart autonegotiation between transfers, which takes forever. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com>