mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
driver_rtl8723cs: completely (not partially) disable for bcm2711 and d1 families
This commit is contained in:
committed by
igorpecovnik
parent
e2171ca737
commit
6b782d3c26
@@ -626,8 +626,13 @@ driver_rtl8723cs() {
|
||||
# Realtek rtl8723cs wireless support.
|
||||
# Driver has been borrowed from sunxi 6.1 megous patch archive.
|
||||
# Applies only from linux 6.1 onwards, so older kernel archives does not require to be altered
|
||||
# It was disabled from bcm2711 as that kernel is not fully in sync with mainline and as its probably not needed there anyway
|
||||
if linux-version compare "${version}" ge 6.1 && [[ "$LINUXFAMILY" != bcm2711 ]] && [[ "$LINUXFAMILY" != d1 ]]; then
|
||||
|
||||
# It was disabled from d1/bcm2711 as that kernel is not fully in sync with mainline and as its probably not needed there anyway
|
||||
if [[ "$LINUXFAMILY" == bcm2711 || "$LINUXFAMILY" == d1 ]]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
if linux-version compare "${version}" ge 6.1; then
|
||||
process_patch_file "${SRC}/patch/misc/wireless-rtl8723cs/8723cs-Add-a-new-driver-v5.12.2-7-g2de5ec386.20201013_beta.patch" "applying"
|
||||
process_patch_file "${SRC}/patch/misc/wireless-rtl8723cs/8723cs-Make-the-driver-compile-and-probe-drop-rockchip-platform.patch" "applying"
|
||||
process_patch_file "${SRC}/patch/misc/wireless-rtl8723cs/8723cs-Enable-OOB-interrupt.patch" "applying"
|
||||
|
||||
Reference in New Issue
Block a user