rtl8822bu-dkms: patch for linux 6.1
This commit is contained in:
parent
08ab32e0c8
commit
3a66c31129
|
@ -1,16 +1,7 @@
|
|||
From 9cecd7211e1c41ce0716f923961cc07b119be573 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Kolesa <daniel@octaforge.org>
|
||||
Date: Sat, 12 Dec 2020 05:03:29 +0100
|
||||
Subject: [PATCH] void arch-generic plumbing bits
|
||||
|
||||
---
|
||||
Makefile | 14 +++++++++++++-
|
||||
1 file changed, 13 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git Makefile Makefile
|
||||
index 29da0bf..d58bc95 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
--- rtl8822bu-dkms-20221123.orig/Makefile
|
||||
+++ rtl8822bu-dkms-20221123/Makefile
|
||||
@@ -120,7 +120,8 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y
|
||||
###################### MP HW TX MODE FOR VHT #######################
|
||||
CONFIG_MP_VHT_HW_TX_MODE = n
|
||||
|
@ -21,7 +12,7 @@ index 29da0bf..d58bc95 100644
|
|||
CONFIG_PLATFORM_ANDROID_X86 = n
|
||||
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
||||
CONFIG_PLATFORM_JB_X86 = n
|
||||
@@ -1289,6 +1289,17 @@ endif
|
||||
@@ -1289,6 +1290,17 @@ endif
|
||||
|
||||
EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
|
||||
|
||||
|
@ -39,6 +30,3 @@ index 29da0bf..d58bc95 100644
|
|||
ifeq ($(CONFIG_RTW_VHT_2G4), y)
|
||||
EXTRA_CFLAGS += -DRTW_VHT_2G4=1
|
||||
else
|
||||
--
|
||||
2.29.2
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
# Template file for 'rtl8822bu-dkms'
|
||||
pkgname=rtl8822bu-dkms
|
||||
version=20221030
|
||||
revision=1
|
||||
_gitrev=f77c4e55cc1852b9f6e5aec416a34abcdabcd825
|
||||
version=20221123
|
||||
revision=2
|
||||
_gitrev=549257e6f62e8d7931e15f963aa06bb3c622ec7e
|
||||
depends="dkms bc"
|
||||
short_desc="Realtek 8822BU USB WiFi driver (DKMS)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://www.tp-link.com"
|
||||
distfiles="https://github.com/cilynx/rtl88x2bu/archive/${_gitrev}.tar.gz"
|
||||
checksum=d1ed87d40cb47c1ac011a9e57aba84d8efecead84f0ddab4ea2847281c2749ca
|
||||
checksum=4219a049b669ab2a9310ea551e5ce74805454ac4db6fed28df1dafa2e09a953d
|
||||
dkms_modules="88x2bu ${version}"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
|
@ -33,6 +33,7 @@ post_patch() {
|
|||
|
||||
do_install() {
|
||||
vmkdir /usr/src/88x2bu-${version}
|
||||
rm 000*.patch
|
||||
vcopy "*" usr/src/88x2bu-${version}
|
||||
vinstall ${FILESDIR}/dkms.conf 644 usr/src/88x2bu-${version}
|
||||
sed -i -e "s/@VERSION@/${version}-${revision}/" ${PKGDESTDIR}/usr/src/88x2bu-${version}/dkms.conf
|
||||
|
|
Loading…
Reference in New Issue