kernel: r8168: refresh patch
Patches weren't refreshed when r8168 was updated to v8.054.00 ina85e18b53f
. Fixes:a85e18b53f
("kernel: r8168: update to v8.054.00") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
21b5ac862e
commit
6490c88c75
|
@ -18,7 +18,7 @@ Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
|
||||||
|
|
||||||
--- a/src/r8168.h
|
--- a/src/r8168.h
|
||||||
+++ b/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,
|
LinkStatus = 0x02,
|
||||||
FullDup = 0x01,
|
FullDup = 0x01,
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
|
||||||
#include <linux/netdevice.h>
|
#include <linux/netdevice.h>
|
||||||
#include <linux/etherdevice.h>
|
#include <linux/etherdevice.h>
|
||||||
#include <linux/delay.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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
|
||||||
static void
|
static void
|
||||||
rtl8168_check_link_status(struct net_device *dev)
|
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) {
|
if (link_status_on) {
|
||||||
rtl8168_link_on_patch(dev);
|
rtl8168_link_on_patch(dev);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue