diff --git a/package/kernel/r8101/Makefile b/package/kernel/r8101/Makefile index c946ee922f..a8cd82b981 100644 --- a/package/kernel/r8101/Makefile +++ b/package/kernel/r8101/Makefile @@ -7,7 +7,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=r8101 PKG_VERSION:=1.038.02 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@IMMORTALWRT diff --git a/package/kernel/r8101/patches/020-6.6-support.patch b/package/kernel/r8101/patches/020-6.6-support.patch new file mode 100644 index 0000000000..516e5a03e6 --- /dev/null +++ b/package/kernel/r8101/patches/020-6.6-support.patch @@ -0,0 +1,13 @@ +--- a/src/r8101_n.c ++++ b/src/r8101_n.c +@@ -69,6 +69,10 @@ This driver is modified from r8169.c in + #include + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10) ++#include ++#endif ++ + #include + #include +