kernel: r8168: refresh patch
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 5 Nov 2024 13:01:06 +0000 (14:01 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 5 Nov 2024 13:12:10 +0000 (14:12 +0100)
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@gmail.com>
(cherry picked from commit 6490c88c75b3392aca9dae5f4d47a13a0aa35220)

package/kernel/r8168/patches/200-r8168-print-link-speed-and-duplex-mode.patch

index 0212ae9bc41c398fa7005e5bb7a671fdfccf7bbe..41162b4d9b11fb872cd078fbdeca520863ad5ed8 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Chukun Pan <amadeus@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@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@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);