forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from openwrtdiy/openwrt-23.05
Synchronize official source code
- Loading branch information
Showing
9 changed files
with
30 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
package/kernel/r8126/patches/001-r8126.h-use-BIT_ULL.patch
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
package/kernel/r8126/patches/100-r8126_rss-silence-rxnfc-log.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]> | |
|
||
--- a/src/r8126.h | ||
+++ b/src/r8126.h | ||
@@ -1561,6 +1561,8 @@ enum RTL8126_register_content { | ||
@@ -1740,6 +1740,8 @@ enum RTL8126_register_content { | ||
LinkStatus = 0x02, | ||
FullDup = 0x01, | ||
|
||
|
@@ -37,7 +37,7 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]> | |
#include <linux/netdevice.h> | ||
#include <linux/etherdevice.h> | ||
#include <linux/delay.h> | ||
@@ -4740,6 +4741,40 @@ rtl8126_link_down_patch(struct net_devic | ||
@@ -4744,6 +4745,40 @@ rtl8126_link_down_patch(struct net_devic | ||
#endif | ||
} | ||
|
||
|
@@ -76,10 +76,10 @@ Signed-off-by: Álvaro Fernández Rojas <[email protected]> | |
+} | ||
+ | ||
static void | ||
_rtl8126_check_link_status(struct net_device *dev) | ||
_rtl8126_check_link_status(struct net_device *dev, unsigned int link_state) | ||
{ | ||
@@ -4748,11 +4783,18 @@ _rtl8126_check_link_status(struct net_de | ||
if (tp->link_ok(dev)) { | ||
@@ -4756,11 +4791,18 @@ _rtl8126_check_link_status(struct net_de | ||
if (link_state == R8126_LINK_STATE_ON) { | ||
rtl8126_link_on_patch(dev); | ||
|
||
- if (netif_msg_ifup(tp)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ Signed-off-by: Chukun Pan <[email protected]> | |
|
||
--- 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 <[email protected]> | |
#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 <[email protected]> | |
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); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=nu801 | ||
PKG_FLAGS:=nonshared | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE_PROTO:=git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters