* [PATCH net-next 0/4] r8169: sync hw config for few chip versions with r8168 vendor driver
@ 2020-05-25 17:48 Heiner Kallweit
2020-05-25 17:49 ` [PATCH net-next 1/4] r8169: sync RTL8168g hw config with " Heiner Kallweit
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Heiner Kallweit @ 2020-05-25 17:48 UTC (permalink / raw)
To: Realtek linux nic maintainers, David Miller, Jakub Kicinski; +Cc: netdev
Sync hw config for few chip versions with r8168 vendor driver.
Heiner Kallweit (4):
r8169: sync RTL8168g hw config with vendor driver
r8169: sync RTL8168h hw config with vendor driver
r8169: sync RTL8168evl hw config with vendor driver
r8169: sync RTL8168f/RTL8411 mac config with vendor driver
drivers/net/ethernet/realtek/r8169_main.c | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
--
2.26.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH net-next 1/4] r8169: sync RTL8168g hw config with vendor driver
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
2020-05-25 17:49 ` [PATCH net-next 2/4] r8169: sync RTL8168h " Heiner Kallweit
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Heiner Kallweit @ 2020-05-25 17:49 UTC (permalink / raw)
To: Realtek linux nic maintainers, David Miller, Jakub Kicinski; +Cc: netdev
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH net-next 2/4] r8169: sync RTL8168h hw config with vendor driver
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 ` [PATCH net-next 1/4] r8169: sync RTL8168g hw config with " Heiner Kallweit
@ 2020-05-25 17:49 ` Heiner Kallweit
2020-05-25 17:50 ` [PATCH net-next 3/4] r8169: sync RTL8168evl " Heiner Kallweit
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Heiner Kallweit @ 2020-05-25 17:49 UTC (permalink / raw)
To: Realtek linux nic maintainers, David Miller, Jakub Kicinski; +Cc: netdev
Sync hw config for RTL8168h with r8168 vendor driver.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
drivers/net/ethernet/realtek/r8169_main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index d034a57a0..173a4c41c 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -3250,9 +3250,8 @@ static void rtl_hw_start_8168h_1(struct rtl8169_private *tp)
rtl_reset_packet_filter(tp);
- rtl_eri_set_bits(tp, 0xdc, BIT(4));
-
rtl_eri_set_bits(tp, 0xd4, 0x1f00);
+ rtl_eri_set_bits(tp, 0xdc, 0x001c);
rtl_eri_write(tp, 0x5f0, ERIAR_MASK_0011, 0x4f87);
--
2.26.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH net-next 3/4] r8169: sync RTL8168evl hw config with vendor driver
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 ` [PATCH net-next 1/4] r8169: sync RTL8168g hw config with " Heiner Kallweit
2020-05-25 17:49 ` [PATCH net-next 2/4] r8169: sync RTL8168h " Heiner Kallweit
@ 2020-05-25 17:50 ` 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
4 siblings, 0 replies; 6+ messages in thread
From: Heiner Kallweit @ 2020-05-25 17:50 UTC (permalink / raw)
To: Realtek linux nic maintainers, David Miller, Jakub Kicinski; +Cc: netdev
Sync hw config for RTL8168evl with r8168 vendor driver.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
drivers/net/ethernet/realtek/r8169_main.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index 173a4c41c..dfb07df47 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -2926,12 +2926,14 @@ static void rtl_hw_start_8168e_2(struct rtl8169_private *tp)
rtl_ephy_init(tp, e_info_8168e_2);
rtl_eri_write(tp, 0xc0, ERIAR_MASK_0011, 0x0000);
- rtl_eri_write(tp, 0xb8, ERIAR_MASK_0011, 0x0000);
+ rtl_eri_write(tp, 0xb8, ERIAR_MASK_1111, 0x0000);
rtl_set_fifo_size(tp, 0x10, 0x10, 0x02, 0x06);
+ rtl_eri_set_bits(tp, 0x0d4, 0x1f00);
+ rtl_eri_set_bits(tp, 0x1d0, BIT(1));
+ rtl_reset_packet_filter(tp);
+ rtl_eri_set_bits(tp, 0x1b0, BIT(4));
rtl_eri_write(tp, 0xcc, ERIAR_MASK_1111, 0x00000050);
rtl_eri_write(tp, 0xd0, ERIAR_MASK_1111, 0x07ff0060);
- rtl_eri_set_bits(tp, 0x1b0, BIT(4));
- rtl_w0w1_eri(tp, 0x0d4, 0x0c00, 0xff00);
rtl_disable_clock_request(tp);
--
2.26.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH net-next 4/4] r8169: sync RTL8168f/RTL8411 hw config with vendor driver
2020-05-25 17:48 [PATCH net-next 0/4] r8169: sync hw config for few chip versions with r8168 vendor driver Heiner Kallweit
` (2 preceding siblings ...)
2020-05-25 17:50 ` [PATCH net-next 3/4] r8169: sync RTL8168evl " Heiner Kallweit
@ 2020-05-25 17:52 ` Heiner Kallweit
2020-05-26 1:21 ` [PATCH net-next 0/4] r8169: sync hw config for few chip versions with r8168 " David Miller
4 siblings, 0 replies; 6+ messages in thread
From: Heiner Kallweit @ 2020-05-25 17:52 UTC (permalink / raw)
To: Realtek linux nic maintainers, David Miller, Jakub Kicinski; +Cc: netdev
Sync hw config for RTL8168f/RTL8411 with r8168 vendor driver.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
drivers/net/ethernet/realtek/r8169_main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index dfb07df47..17c564457 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -2953,11 +2953,11 @@ static void rtl_hw_start_8168f(struct rtl8169_private *tp)
rtl_set_def_aspm_entry_latency(tp);
rtl_eri_write(tp, 0xc0, ERIAR_MASK_0011, 0x0000);
- rtl_eri_write(tp, 0xb8, ERIAR_MASK_0011, 0x0000);
+ rtl_eri_write(tp, 0xb8, ERIAR_MASK_1111, 0x0000);
rtl_set_fifo_size(tp, 0x10, 0x10, 0x02, 0x06);
rtl_reset_packet_filter(tp);
rtl_eri_set_bits(tp, 0x1b0, BIT(4));
- rtl_eri_set_bits(tp, 0x1d0, BIT(4));
+ rtl_eri_set_bits(tp, 0x1d0, BIT(4) | BIT(1));
rtl_eri_write(tp, 0xcc, ERIAR_MASK_1111, 0x00000050);
rtl_eri_write(tp, 0xd0, ERIAR_MASK_1111, 0x00000060);
@@ -2986,7 +2986,7 @@ static void rtl_hw_start_8168f_1(struct rtl8169_private *tp)
rtl_ephy_init(tp, e_info_8168f_1);
- rtl_w0w1_eri(tp, 0x0d4, 0x0c00, 0xff00);
+ rtl_eri_set_bits(tp, 0x0d4, 0x1f00);
}
static void rtl_hw_start_8411(struct rtl8169_private *tp)
--
2.26.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH net-next 0/4] r8169: sync hw config for few chip versions with r8168 vendor driver
2020-05-25 17:48 [PATCH net-next 0/4] r8169: sync hw config for few chip versions with r8168 vendor driver Heiner Kallweit
` (3 preceding siblings ...)
2020-05-25 17:52 ` [PATCH net-next 4/4] r8169: sync RTL8168f/RTL8411 " Heiner Kallweit
@ 2020-05-26 1:21 ` David Miller
4 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2020-05-26 1:21 UTC (permalink / raw)
To: hkallweit1; +Cc: nic_swsd, kuba, netdev
From: Heiner Kallweit <hkallweit1@gmail.com>
Date: Mon, 25 May 2020 19:48:16 +0200
> Sync hw config for few chip versions with r8168 vendor driver.
Series applied, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-05-26 1:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH net-next 1/4] r8169: sync RTL8168g hw config with " Heiner Kallweit
2020-05-25 17:49 ` [PATCH net-next 2/4] r8169: sync RTL8168h " 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
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.