mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Upgrade EDGE to 5.12.y (#2825)
* Bump imx6 edge to 5.12.y * Bump odroid xu4 edge to 5.12.y * Bump Jetson nano edge to 5.12.y * WIP: Bump sunxi to 5.12.y - create a copy of patches and make a new link - wireless patches needs adjutement to 5.12 - some patches are still failing * Adjust wireless patches to build on 5.12.y * Remove template wireless patch * Move Espressobin edge to 5.12.y * Bump mvebu to 5.12 - patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath - adjusted wireless driver for 8723ds * Adjust sunxi / sunxi64 edge to compile * Fix kernel config for Jetson nano edge * bump meson64 to 5.12.y * bump rockchip edge to 5.12.y * Bump rockchip64 to 5.12.y * Bump rk322x edge to 5.12.y @paolosabatino * Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y * Update odroidxu4 edge links * rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules * Cleanup: remove deprecated config Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
This commit is contained in:
30
patch/misc/wireless-realtek-8188eu-5.12.patch
Normal file
30
patch/misc/wireless-realtek-8188eu-5.12.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
From 9c2aba6c19ff477530185442c9ac2717e2602d34 Mon Sep 17 00:00:00 2001
|
||||
From: Igor Pecovnik <igor.pecovnik@gmail.com>
|
||||
Date: Sun, 16 May 2021 16:22:09 +0200
|
||||
Subject: [PATCH] adjust for k5.12
|
||||
|
||||
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
|
||||
---
|
||||
drivers/net/wireless/rtl8188eu/os_dep/linux/recv_linux.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/drivers/net/wireless/rtl8188eu/os_dep/linux/recv_linux.c b/drivers/net/wireless/rtl8188eu/os_dep/linux/recv_linux.c
|
||||
index 0d8dc6dc8..80219c05e 100644
|
||||
--- a/drivers/net/wireless/rtl8188eu/os_dep/linux/recv_linux.c
|
||||
+++ b/drivers/net/wireless/rtl8188eu/os_dep/linux/recv_linux.c
|
||||
@@ -355,8 +355,12 @@ static int napi_recv(_adapter *padapter, int budget)
|
||||
|
||||
#ifdef CONFIG_RTW_GRO
|
||||
if (pregistrypriv->en_gro) {
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 12, 0)
|
||||
if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
|
||||
rx_ok = _TRUE;
|
||||
+#else
|
||||
+ rx_ok = _TRUE;
|
||||
+#endif
|
||||
goto next;
|
||||
}
|
||||
#endif /* CONFIG_RTW_GRO */
|
||||
--
|
||||
Created with Armbian build tools https://github.com/armbian/build
|
||||
|
||||
Reference in New Issue
Block a user