mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
r8126: Enable PTP support
Enable PTP support for r8126 ethernet driver Bug 4478230 Change-Id: I1aa31abb92bb9c8536854149e12cbb8aadf47112 Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3145172 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
3049af901c
commit
ce70fe6f92
@@ -42,8 +42,8 @@ ENABLE_EEE = y
|
||||
ENABLE_S0_MAGIC_PACKET = n
|
||||
ENABLE_TX_NO_CLOSE = y
|
||||
ENABLE_MULTIPLE_TX_QUEUE = y
|
||||
ENABLE_PTP_SUPPORT = n
|
||||
ENABLE_PTP_MASTER_MODE = n
|
||||
ENABLE_PTP_SUPPORT = y
|
||||
ENABLE_PTP_MASTER_MODE = y
|
||||
ENABLE_RSS_SUPPORT = n
|
||||
ENABLE_LIB_SUPPORT = n
|
||||
ENABLE_USE_FIRMWARE_FILE = n
|
||||
|
||||
@@ -13861,7 +13861,7 @@ rtl8126_init_one(struct pci_dev *pdev,
|
||||
tp->phy_reset_enable = rtl8126_xmii_reset_enable;
|
||||
tp->phy_reset_pending = rtl8126_xmii_reset_pending;
|
||||
tp->link_ok = rtl8126_xmii_link_ok;
|
||||
|
||||
tp->HwSuppPtpVer = 1;
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,11,0)
|
||||
dev->tstats = devm_netdev_alloc_pcpu_stats(&pdev->dev,
|
||||
struct pcpu_sw_netstats);
|
||||
|
||||
Reference in New Issue
Block a user