Skip to content

Commit 2121162

Browse files
EvilOlafigorpecovnik
authored andcommitted
rtl8189fs: switch source repository, add 7.2 compat, drop pre-patches
1 parent 167bd0c commit 2121162

5 files changed

Lines changed: 3 additions & 479 deletions

lib/functions/compilation/patch/drivers_network.sh

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ driver_rtl8189FS() {
8787

8888
# Wireless drivers for Realtek 8189FS chipsets
8989

90-
if linux-version compare "${version}" ge 3.14 && linux-version compare "${version}" lt 7.2; then
90+
if linux-version compare "${version}" ge 3.14; then
9191

9292
# Attach to specific commit (was "branch:rtl8189fs")
93-
local rtl8189fsver='commit:876e627a5b6a8021700391b4249a4a31edfebe5c' # Commit date: 2025-09-26 (please update when updating commit ref)
93+
local rtl8189fsver='commit:f95ad2e28bfb1a4350ff5da123a28df4183ca120' # Commit date: 2026-06-30 (please update when updating commit ref)
9494

9595
display_alert "Adding" "Wireless drivers for Realtek 8189FS chipsets ${rtl8189fsver}" "info"
9696

97-
fetch_from_repo "$GITHUB_SOURCE/jwrdegoede/rtl8189ES_linux" "rtl8189fs" "${rtl8189fsver}" "yes" # https://github.com/jwrdegoede/rtl8189ES_linux
97+
fetch_from_repo "$GITHUB_SOURCE/EvilOlaf/rtl8189ES_linux" "rtl8189fs" "${rtl8189fsver}" "yes" # https://github.com/jwrdegoede/rtl8189ES_linux
9898
cd "$kerneldir" || exit
9999
rm -rf "$kerneldir/drivers/net/wireless/rtl8189fs"
100100
mkdir -p "$kerneldir/drivers/net/wireless/rtl8189fs/"
@@ -119,18 +119,6 @@ driver_rtl8189FS() {
119119
sed -i "s/^CONFIG_RTW_DEBUG.*/CONFIG_RTW_DEBUG = n/" \
120120
"$kerneldir/drivers/net/wireless/rtl8189fs/Makefile"
121121

122-
process_patch_file "${SRC}/patch/misc/wireless-rtl8189fs-fix-p2p-go-advertising.patch" "applying"
123-
124-
# fix compilation for kernels >= 5.4
125-
process_patch_file "${SRC}/patch/misc/wireless-rtl8189fs-Fix-VFS-import.patch" "applying"
126-
127-
# fix compilation for kernels >= 5.4.251
128-
process_patch_file "${SRC}/patch/misc/wireless-rtl8189fs-Fix-building-on-5.4.251-kernel.patch" "applying"
129-
130-
# fix compilation for kernels >= 7.1
131-
if linux-version compare "${version}" ge 7.1; then
132-
process_patch_file "${SRC}/patch/misc/wireless-rtl8189fs-Fix-building-on-7.1-kernel.patch" "applying"
133-
fi
134122
fi
135123
}
136124

patch/misc/wireless-rtl8189fs-Fix-VFS-import.patch

Lines changed: 0 additions & 26 deletions
This file was deleted.

patch/misc/wireless-rtl8189fs-Fix-building-on-5.4.251-kernel.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)