mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
drivers_network: Deprecate vendor drivers for RTW8723DS, RTW8723DU and RTL88x2cs in favor of mainline RTW88 for kernel >=6.8
- RTW8723DS, RTW8723DU is unsupported/deprecated/obsolete by the author since kernel 6.7 in favor of RTW88, so deprecate it for kernel >=6.8 - RTL88x2cs specifically says in its repo: "USE RTW88 NOT THIS DRIVER", so deprecate in favor of RTW88, except for meson64 family - move random RTL88x2cs hook specific for meson64 family in drivers_network.sh to their family config
This commit is contained in:
@@ -50,6 +50,17 @@ case $BRANCH in
|
||||
|
||||
esac
|
||||
|
||||
# Use custom vendor driver for wireless rtl88x2cs
|
||||
# See https://github.com/armbian/build/pull/6227
|
||||
# @TODO Only use for BOARDFAMILY="jethub" devices?
|
||||
function armbian_kernel_config__enable_rtl88x2cs_driver() {
|
||||
kernel_config_modifying_hashes+=("CONFIG_RTL8822CS=m")
|
||||
if [[ -f .config ]]; then
|
||||
display_alert "Enabling rtl88x2cs driver in kernel config" "armbian-kernel" "wrn"
|
||||
kernel_config_set_m CONFIG_RTL8822CS
|
||||
fi
|
||||
}
|
||||
|
||||
# this helper function includes postprocess for p212 and its variants.
|
||||
# $1 PATH for uboot blob repo
|
||||
# $2 dir name in uboot blob repo
|
||||
|
||||
Reference in New Issue
Block a user