netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1@gmail.com>
To: Realtek linux nic maintainers <nic_swsd@realtek.com>,
	David Miller <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: [PATCH net-next 1/4] r8169: sync RTL8168g hw config with vendor driver
Date: Mon, 25 May 2020 19:49:15 +0200	[thread overview]
Message-ID: <82c9a91e-8132-2421-ac84-a92da10fe18e@gmail.com> (raw)
In-Reply-To: <e9898548-158a-12d5-4c1a-efe8cfbe3416@gmail.com>

Sync hw config for RTL8168g with r8168 vendor driver.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/ethernet/realtek/r8169_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index 79090aefa..d034a57a0 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -3019,6 +3019,7 @@ static void rtl_hw_start_8168g(struct rtl8169_private *tp)
 
 	rtl_eri_write(tp, 0xc0, ERIAR_MASK_0011, 0x0000);
 	rtl_eri_write(tp, 0xb8, ERIAR_MASK_0011, 0x0000);
+	rtl_eri_set_bits(tp, 0x0d4, 0x1f80);
 
 	rtl8168_config_eee_mac(tp);
 
-- 
2.26.2



  reply	other threads:[~2020-05-25 17:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-25 17:48 [PATCH net-next 0/4] r8169: sync hw config for few chip versions with r8168 vendor driver Heiner Kallweit
2020-05-25 17:49 ` Heiner Kallweit [this message]
2020-05-25 17:49 ` [PATCH net-next 2/4] r8169: sync RTL8168h hw config with " Heiner Kallweit
2020-05-25 17:50 ` [PATCH net-next 3/4] r8169: sync RTL8168evl " Heiner Kallweit
2020-05-25 17:52 ` [PATCH net-next 4/4] r8169: sync RTL8168f/RTL8411 " Heiner Kallweit
2020-05-26  1:21 ` [PATCH net-next 0/4] r8169: sync hw config for few chip versions with r8168 " David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82c9a91e-8132-2421-ac84-a92da10fe18e@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nic_swsd@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).