kernel-6.12.40

This commit is contained in:
Rmys
2025-07-25 17:08:46 +03:00
parent e8174be980
commit 115c3cbafa
7 changed files with 82 additions and 13 deletions
@@ -0,0 +1,33 @@
https://bugs.gentoo.org/947928
Adds support for the new name of the asm/unaligned.h header file for kernels >=6.12.0 (header file was renamed to "linux/unaligned.h")
Bug found by Sam Petch
Patch by Sam Petch
TESTING DETAILS:
Bugfix tested by Sam Petch on kernels: gentoo-sources:6.6.67, gentoo-sources:6.12.4-r1, gentoo-sources:6.12.9
Patch tested on kernels: gentoo-sources:6.6.67, gentoo-sources:6.12.9
Bugfix and patch tested on device: 2012 Macbook Pro (A1278) running Gentoo Linux with Gnome Desktop / OpenRC profile
Chipset: BCM4331 (Broadcom)
Contact: sam.petch.recall824@passinbox.com
--- a/src/wl/sys/wl_linux.c
+++ b/src/wl/sys/wl_linux.c
@@ -56,7 +56,12 @@
#include <asm/irq.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)
+#include <linux/unaligned.h>
+#else
#include <asm/unaligned.h>
+#endif
#include <proto/802.1d.h>
+10 -2
View File
@@ -15,7 +15,7 @@
<Archive sha1sum="8acbdbb4ab4ab4123d1773b616904798fbef9277" type="targz" target="i686">https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz</Archive>
<Archive sha1sum="1f568bb989d175813c5631c6629d9479eae6f3be" type="targz" target="x86_64">https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz</Archive>
<BuildDependencies>
<Dependency version="6.6.92">kernel-module-headers</Dependency>
<Dependency version="6.12.40">kernel-module-headers</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">patch/linux-recent.patch</Patch>
@@ -31,13 +31,14 @@
<Patch level="1">patch/broadcom-wl-6.30.223.271-kernel-6.0.0.patch</Patch>
<Patch level="1">patch/broadcom-wl-fix-linux-6.1.patch</Patch>
<Patch level="1">patch/017-handle-new-header-name-6.12.patch</Patch>
</Patches>
</Source>
<Package>
<Name>module-broadcom-wl</Name>
<RuntimeDependencies>
<Dependency version="6.6.92">kernel</Dependency>
<Dependency version="6.12.40">kernel</Dependency>
<Dependency release="current">module-broadcom-wl-userspace</Dependency>
</RuntimeDependencies>
<Files>
@@ -66,6 +67,13 @@
</Package>
<History>
<Update release="95">
<Date>2025-07-24</Date>
<Version>6.30.223.271</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="94">
<Date>2025-05-23</Date>
<Version>6.30.223.271</Version>