|
|
@@ -18,7 +18,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
|
|
|
--- a/src/r8127.h
|
|
|
+++ b/src/r8127.h
|
|
|
-@@ -1753,6 +1753,11 @@ enum RTL8127_register_content {
|
|
|
+@@ -1770,6 +1770,11 @@ enum RTL8127_register_content {
|
|
|
LinkStatus = 0x02,
|
|
|
FullDup = 0x01,
|
|
|
|
|
|
@@ -40,7 +40,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
#include <linux/netdevice.h>
|
|
|
#include <linux/etherdevice.h>
|
|
|
#include <linux/delay.h>
|
|
|
-@@ -4746,6 +4747,42 @@ rtl8127_link_down_patch(struct net_devic
|
|
|
+@@ -4734,6 +4735,42 @@ rtl8127_link_down_patch(struct net_devic
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
@@ -83,7 +83,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]>
|
|
|
static void
|
|
|
_rtl8127_check_link_status(struct net_device *dev, unsigned int link_state)
|
|
|
{
|
|
|
-@@ -4758,11 +4795,18 @@ _rtl8127_check_link_status(struct net_de
|
|
|
+@@ -4746,11 +4783,18 @@ _rtl8127_check_link_status(struct net_de
|
|
|
if (link_state == R8127_LINK_STATE_ON) {
|
|
|
rtl8127_link_on_patch(dev);
|
|
|
|