[openwrt/openwrt] kernel: r8168: refresh patch

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 5 05:13:29 PST 2024


noltari pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/e70669e6901e579d46bb67ee95e348b8e9fb79fb

commit e70669e6901e579d46bb67ee95e348b8e9fb79fb
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Tue Nov 5 14:01:06 2024 +0100

    kernel: r8168: refresh patch
    
    Patches weren't refreshed when r8168 was updated to v8.054.00 in a85e18b53f0f.
    
    Fixes: a85e18b53f0f ("kernel: r8168: update to v8.054.00")
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
    (cherry picked from commit 6490c88c75b3392aca9dae5f4d47a13a0aa35220)
---
 .../r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/kernel/r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch b/package/kernel/r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch
index 0212ae9bc4..41162b4d9b 100644
--- a/package/kernel/r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch
+++ b/package/kernel/r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch
@@ -18,7 +18,7 @@ Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
 
 --- a/src/r8168.h
 +++ b/src/r8168.h
-@@ -1385,6 +1385,8 @@ enum RTL8168_register_content {
+@@ -1468,6 +1468,8 @@ enum RTL8168_register_content {
          LinkStatus = 0x02,
          FullDup = 0x01,
  
@@ -37,7 +37,7 @@ Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
  #include <linux/netdevice.h>
  #include <linux/etherdevice.h>
  #include <linux/delay.h>
-@@ -5373,6 +5374,36 @@ rtl8168_link_down_patch(struct net_devic
+@@ -5369,6 +5370,36 @@ rtl8168_link_down_patch(struct net_devic
  #endif
  }
  
@@ -74,7 +74,7 @@ Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
  static void
  rtl8168_check_link_status(struct net_device *dev)
  {
-@@ -5392,11 +5423,18 @@ rtl8168_check_link_status(struct net_dev
+@@ -5388,11 +5419,18 @@ rtl8168_check_link_status(struct net_dev
                  if (link_status_on) {
                          rtl8168_link_on_patch(dev);
  




More information about the lede-commits mailing list