mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
r8168: Disable 10M EEE
- This disables 10M EEE for r8168 driver Bug 4205197 Change-Id: I804b0d53460d19d8ed0b692b7327210634e2a111 Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3123376 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
20dbe0996b
commit
6b62a514a3
@@ -24767,6 +24767,11 @@ rtl8168_hw_phy_config(struct net_device *dev)
|
|||||||
rtl8168_mdio_write(tp, 0x06, rtl8168_mdio_read(tp, 0x06) & ~BIT_8);
|
rtl8168_mdio_write(tp, 0x06, rtl8168_mdio_read(tp, 0x06) & ~BIT_8);
|
||||||
rtl8168_mdio_write(tp, 0x1f, 0x0000);
|
rtl8168_mdio_write(tp, 0x1f, 0x0000);
|
||||||
|
|
||||||
|
rtl8168_mdio_write(tp, 0x1f, 0x0007); //nvidia for 8119i 10M_pll_off
|
||||||
|
rtl8168_mdio_write(tp, 0x1e, 0x0023);
|
||||||
|
rtl8168_mdio_write(tp, 0x17, rtl8168_mdio_read(tp, 0x17) & ~BIT_1);
|
||||||
|
rtl8168_mdio_write(tp, 0x1f, 0x0000);
|
||||||
|
|
||||||
if (HW_HAS_WRITE_PHY_MCU_RAM_CODE(tp)) {
|
if (HW_HAS_WRITE_PHY_MCU_RAM_CODE(tp)) {
|
||||||
rtl8168_mdio_write(tp, 0x1f, 0x0005);
|
rtl8168_mdio_write(tp, 0x1f, 0x0005);
|
||||||
rtl8168_mdio_write(tp, 0x05, 0x8b85);
|
rtl8168_mdio_write(tp, 0x05, 0x8b85);
|
||||||
|
|||||||
Reference in New Issue
Block a user