|
|
@@ -18,7 +18,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
|
|
|
--- a/src/r8125.h
|
|
|
+++ b/src/r8125.h
|
|
|
-@@ -1687,6 +1687,9 @@ enum RTL8125_register_content {
|
|
|
+@@ -1726,6 +1726,9 @@ enum RTL8125_register_content {
|
|
|
LinkStatus = 0x02,
|
|
|
FullDup = 0x01,
|
|
|
|
|
|
@@ -38,7 +38,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
#include <linux/netdevice.h>
|
|
|
#include <linux/etherdevice.h>
|
|
|
#include <linux/delay.h>
|
|
|
-@@ -5023,6 +5024,38 @@ rtl8125_link_down_patch(struct net_devic
|
|
|
+@@ -5045,6 +5046,38 @@ rtl8125_link_down_patch(struct net_devic
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
@@ -77,7 +77,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
static void
|
|
|
_rtl8125_check_link_status(struct net_device *dev, unsigned int link_state)
|
|
|
{
|
|
|
-@@ -5035,11 +5068,18 @@ _rtl8125_check_link_status(struct net_de
|
|
|
+@@ -5057,11 +5090,18 @@ _rtl8125_check_link_status(struct net_de
|
|
|
if (link_state == R8125_LINK_STATE_ON) {
|
|
|
rtl8125_link_on_patch(dev);
|
|
|
|