• M
    net: sh_eth: Initialize PHY in probe() once · 4a45e93f
    Marek Vasut 提交于
    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: NMarek Vasut <marek.vasut+renesas@gmail.com>
    Cc: Joe Hershberger <joe.hershberger@ni.com>
    4a45e93f
sh_eth.c 24.5 KB