mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
In Linux v6,15, a 'speed' argument was added to the phy_loopback() function. Add a conftest test to detect this change and update the nvethernet driver accordingly. Note that if 'speed' is set to 0 when calling phy_loopback(), then phy_loopback() behaves the same way as it did before this argument was added. So by default set speed to 0 for the nvethernet driver. JIRA LINQPJ14-47 Change-Id: I55f775e672bfa1a00c9ccbd825c82be1868b0b52 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3330685 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Revanth Kumar Uppala <ruppala@nvidia.com>