makedeb
Intel wireless chips driver fixed for ax101 from linux (6.1.15)
Click here to go back to the commit logs for iwlwifi-ax101-dkms.
Hash: 068c7dcbaf92ffc48bd7b8c29a7973e864ee3646
Message: add patch
diff --git a/.SRCINFO b/.SRCINFO
index 676ebf0..9d13b28 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
pkgname = iwlwifi-ax101-dkms
pkgbase = iwlwifi-ax101-dkms
pkgdesc = Intel wireless chips driver fixed for ax101 from linux (6.1.15)
-pkgrel = 1
+pkgrel = 2
pkgver = 6.1.15
url = https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
arch = any
@@ -11,6 +11,8 @@ license = GPL2
makedepends = git
source = https://mirrors.ustc.edu.cn/kernel.org/linux/kernel/v6.x/linux-6.1.15.tar.xz
source = dkms.conf
+source = 0001-ax101.patch
sha256sums = 2c16dfe2168a2e64ac0d55a12d625ebfb963818bb48b60c1868c7c460644c4fd
sha256sums = f17ed01e8bfb36dfbf62982a29ad87b5c4ac86d8a5b2fb33716f844c3ff12824
+sha256sums = 4d3a12b9e44d4e8ef3b6dead7203f4b8798b2ec512109e1e0aa47264b24c7b75
makedepends = git
diff --git a/0001-ax101.patch b/0001-ax101.patch
new file mode 100644
index 0000000..840cf61
--- /dev/null
+++ b/0001-ax101.patch
@@ -0,0 +1,11 @@
+--- a/pcie/drv.c 2023-03-03 10:52:25.000000000 +0000
++++ b/pcie/drv.c 2023-03-09 06:36:38.563052769 +0000
+@@ -1091,7 +1091,7 @@
+ _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
+ IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
+ IWL_CFG_RF_TYPE_HR1, IWL_CFG_ANY,
+- IWL_CFG_160, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
++ IWL_CFG_ANY, IWL_CFG_ANY, IWL_CFG_NO_CDB, IWL_CFG_ANY,
+ iwl_cfg_so_a0_hr_a0, iwl_ax101_name),
+ _IWL_DEV_INFO(IWL_CFG_ANY, IWL_CFG_ANY,
+ IWL_CFG_MAC_TYPE_SO, IWL_CFG_ANY,
diff --git a/PKGBUILD b/PKGBUILD
index 5e0206a..e5e9544 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_srcname=iwlwifi-ax101
pkgname=${_srcname}-dkms
pkgver=6.1.15
-pkgrel=1
+pkgrel=2
pkgdesc="Intel wireless chips driver fixed for ax101 from linux ($pkgver)"
arch=('any')
url="https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi"
@@ -11,9 +11,11 @@ license=('GPL2')
depends=('dkms')
makedepends=('git')
source=("https://mirrors.ustc.edu.cn/kernel.org/linux/kernel/v${pkgver%%.*}.x/linux-${pkgver}.tar.xz"
- "dkms.conf")
+ "dkms.conf"
+ "0001-ax101.patch")
sha256sums=('2c16dfe2168a2e64ac0d55a12d625ebfb963818bb48b60c1868c7c460644c4fd'
- 'f17ed01e8bfb36dfbf62982a29ad87b5c4ac86d8a5b2fb33716f844c3ff12824')
+ 'f17ed01e8bfb36dfbf62982a29ad87b5c4ac86d8a5b2fb33716f844c3ff12824'
+ '4d3a12b9e44d4e8ef3b6dead7203f4b8798b2ec512109e1e0aa47264b24c7b75')
extensions=()
prepare() {
@@ -22,6 +24,8 @@ prepare() {
# https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1910510.html
sed -i 's|$(srctree)/||' {d,m}vm/Makefile
+
+ patch -p1 -i "$srcdir/0001-ax101.patch"
}