mirror of https://github.com/armbian/build.git
uefi-arm64: bump to 6.16
This commit is contained in:
parent
bda921595b
commit
b3912bb03a
|
|
@ -41,7 +41,7 @@ case "${BRANCH}" in
|
|||
;;
|
||||
|
||||
edge)
|
||||
declare -g KERNEL_MAJOR_MINOR="6.15"
|
||||
declare -g KERNEL_MAJOR_MINOR="6.16"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
|
|
@ -210,6 +210,9 @@ driver_rtl8811_rtl8812_rtl8814_rtl8821() {
|
|||
echo "obj-\$(CONFIG_88XXAU) += rtl8812au/" >> "$kerneldir/drivers/net/wireless/Makefile"
|
||||
sed -i '/source "drivers\/net\/wireless\/ti\/Kconfig"/a source "drivers\/net\/wireless\/rtl8812au\/Kconfig"' \
|
||||
"$kerneldir/drivers/net/wireless/Kconfig"
|
||||
|
||||
# fix compilation for kernels >= 6.16
|
||||
process_patch_file "${SRC}/patch/misc/wireless-rtl8812au-Fix-6.16.patch" "applying"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
@ -291,6 +294,9 @@ driver_rtl8811CU_rtl8821C() {
|
|||
echo "obj-\$(CONFIG_RTL8821CU) += rtl8811cu/" >> "$kerneldir/drivers/net/wireless/Makefile"
|
||||
sed -i '/source "drivers\/net\/wireless\/ti\/Kconfig"/a source "drivers\/net\/wireless\/rtl8811cu\/Kconfig"' \
|
||||
"$kerneldir/drivers/net/wireless/Kconfig"
|
||||
|
||||
# fix compilation for kernels >= 6.16
|
||||
process_patch_file "${SRC}/patch/misc/wireless-rtl8811cu-Fix-6.16.patch" "applying"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
@ -333,6 +339,9 @@ driver_rtl88x2bu() {
|
|||
sed -i "/source \"drivers\/net\/wireless\/ti\/Kconfig\"/a source \"drivers\/net\/wireless\/rtl88x2bu\/Kconfig\"" \
|
||||
"$kerneldir/drivers/net/wireless/Kconfig"
|
||||
|
||||
# fix compilation for kernels >= 6.16
|
||||
process_patch_file "${SRC}/patch/misc/wireless-rtl88x2bu-Fix-6.16.patch" "applying"
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
diff --git a/cache/sources/linux-kernel-worktree/6.16__arm64__arm64/drivers/net/wireless/rtl8811cu/include/osdep_service_linux.h b/drivers/net/wireless/rtl8811cu/include/osdep_service_linux.h
|
||||
index ed1e19b..91de46f 100644
|
||||
--- a/cache/sources/linux-kernel-worktree/6.16__arm64__arm64/drivers/net/wireless/rtl8811cu/include/osdep_service_linux.h
|
||||
+++ b/drivers/net/wireless/rtl8811cu/include/osdep_service_linux.h
|
||||
@@ -358,7 +358,11 @@ static inline void timer_hdl(unsigned long cntx)
|
||||
#endif
|
||||
{
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0))
|
||||
+ _timer *ptimer = timer_container_of(ptimer, in_timer, timer);
|
||||
+#else
|
||||
_timer *ptimer = from_timer(ptimer, in_timer, timer);
|
||||
+#endif
|
||||
#else
|
||||
_timer *ptimer = (_timer *)cntx;
|
||||
#endif
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
diff --git a/cache/sources/linux-kernel-worktree/6.16__arm64__arm64/drivers/net/wireless/rtl8812au/include/osdep_service_linux.h b/drivers/net/wireless/rtl8812au/include/osdep_service_linux.h
|
||||
index 4c276f6..aeb8000 100644
|
||||
--- a/drivers/net/wireless/rtl8812au/include/osdep_service_linux.h
|
||||
+++ b/drivers/net/wireless/rtl8812au/include/osdep_service_linux.h
|
||||
@@ -356,7 +356,11 @@ static inline void timer_hdl(unsigned long cntx)
|
||||
#endif
|
||||
{
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0))
|
||||
+ _timer *ptimer = timer_container_of(ptimer, in_timer, timer);
|
||||
+#else
|
||||
_timer *ptimer = from_timer(ptimer, in_timer, timer);
|
||||
+#endif
|
||||
#else
|
||||
_timer *ptimer = (_timer *)cntx;
|
||||
#endif
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
diff --git a/cache/sources/linux-kernel-worktree/6.16__arm64__arm64/drivers/net/wireless/rtl88x2bu/include/osdep_service_linux.h b/drivers/net/wireless/rtl88x2bu/include/osdep_service_linux.h
|
||||
index 46b9528..fb32ed6 100644
|
||||
--- a/drivers/net/wireless/rtl88x2bu/include/osdep_service_linux.h
|
||||
+++ b/drivers/net/wireless/rtl88x2bu/include/osdep_service_linux.h
|
||||
@@ -358,7 +358,11 @@ static inline void timer_hdl(unsigned long cntx)
|
||||
#endif
|
||||
{
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0))
|
||||
+ _timer *ptimer = timer_container_of(ptimer, in_timer, timer);
|
||||
+#else
|
||||
_timer *ptimer = from_timer(ptimer, in_timer, timer);
|
||||
+#endif
|
||||
#else
|
||||
_timer *ptimer = (_timer *)cntx;
|
||||
#endif
|
||||
Loading…
Reference in New Issue