From: Álvaro Fernández Rojas Date: Thu, 11 Sep 2025 11:11:59 +0000 (+0200) Subject: kernel: r8126: update to v10.016.00 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F20019%2Fhead;p=thirdparty%2Fopenwrt.git kernel: r8126: update to v10.016.00 Changelog: https://github.com/openwrt/rtl8126/compare/10.015.00...10.016.00 Signed-off-by: Álvaro Fernández Rojas --- diff --git a/package/kernel/r8126/Makefile b/package/kernel/r8126/Makefile index cce9045b23b..6bc39a936a5 100644 --- a/package/kernel/r8126/Makefile +++ b/package/kernel/r8126/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=r8126 -PKG_VERSION:=10.015.00 -PKG_RELEASE:=3 +PKG_VERSION:=10.016.00 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://github.com/openwrt/rtl8126/releases/download/$(PKG_VERSION) -PKG_HASH:=fac513aa925264a95b053e7532fcda56022d29db288f6625fafee2759a8a6124 +PKG_HASH:=50c8d3d49592d2e8f372bd7ece8e7df9b50a71b055c077d42eacc42302914440 PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=GPLv2 diff --git a/package/kernel/r8126/patches/200-r8126-print-link-speed-and-duplex-mode.patch b/package/kernel/r8126/patches/200-r8126-print-link-speed-and-duplex-mode.patch index 236f80c7fd0..61e2666e1f0 100644 --- a/package/kernel/r8126/patches/200-r8126-print-link-speed-and-duplex-mode.patch +++ b/package/kernel/r8126/patches/200-r8126-print-link-speed-and-duplex-mode.patch @@ -18,7 +18,7 @@ Signed-off-by: Álvaro Fernández Rojas --- a/src/r8126.h +++ b/src/r8126.h -@@ -1756,6 +1756,10 @@ enum RTL8126_register_content { +@@ -1752,6 +1752,10 @@ enum RTL8126_register_content { LinkStatus = 0x02, FullDup = 0x01, @@ -39,8 +39,8 @@ Signed-off-by: Álvaro Fernández Rojas #include #include #include -@@ -4661,6 +4662,40 @@ rtl8126_link_down_patch(struct net_devic - #endif +@@ -4410,6 +4411,40 @@ rtl8126_link_down_patch(struct net_devic + //rtl8126_set_speed(dev, tp->autoneg, tp->speed, tp->duplex, tp->advertising); } +static unsigned int rtl8126_phy_duplex(u32 status) @@ -80,7 +80,7 @@ Signed-off-by: Álvaro Fernández Rojas static void _rtl8126_check_link_status(struct net_device *dev, unsigned int link_state) { -@@ -4673,11 +4708,18 @@ _rtl8126_check_link_status(struct net_de +@@ -4422,11 +4457,18 @@ _rtl8126_check_link_status(struct net_de if (link_state == R8126_LINK_STATE_ON) { rtl8126_link_on_patch(dev);