summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-14 11:13:16 +0100
committertnut <tnut at nutyx dot com>2012-01-14 11:13:16 +0100
commit73799e53ca4c2b2b8d084abc1e59f531e3c32fb4 (patch)
treefa7bc03d33ef67df34d2ee844e1892c32f4a9039
parent868da48d5432afa762a8669fa1f45adca9975fb4 (diff)
downloadnutyx-pakxe-73799e53ca4c2b2b8d084abc1e59f531e3c32fb4.tar.gz
nutyx-pakxe-73799e53ca4c2b2b8d084abc1e59f531e3c32fb4.tar.bz2
nutyx-pakxe-73799e53ca4c2b2b8d084abc1e59f531e3c32fb4.tar.xz
nutyx-pakxe-73799e53ca4c2b2b8d084abc1e59f531e3c32fb4.zip
kernel, ajout patch pour broadcom
-rw-r--r--kernel/Pkgfile3
-rw-r--r--kernel/bc_wl_abiupdate.patch4
2 files changed, 6 insertions, 1 deletions
diff --git a/kernel/Pkgfile b/kernel/Pkgfile
index 5e2a50ffc..91fdf0a48 100644
--- a/kernel/Pkgfile
+++ b/kernel/Pkgfile
@@ -28,7 +28,7 @@ ATI_VERSION=11.11
source=(http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_${BC_ARCH}-v5_100_82_112.tar.gz \
http://download.virtualbox.org/virtualbox/${VB_VERSION}/VirtualBox-${VB_VERSION}-${VB_BUILD}-Linux_${VB_ARCH}.run \
http://www2.ati.com/drivers/linux/ati-driver-installer-${ATI_VERSION/./-}-x86.x86_64.run \
- makefile_compat.patch \
+ makefile_compat.patch bc_wl_abiupdate.patch \
http://fr.download.nvidia.com/XFree86/Linux-${_ARCH}/${NVIDIA_VERSION}/NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}.run\
http://www.kernel.org/pub/linux/kernel/v3.0/linux-${_BaseVersion}.tar.bz2 config_64 config\
http://www.kernel.org/pub/linux/kernel/v3.0/patch-$version.bz2 \
@@ -83,6 +83,7 @@ case `uname -m` in
esac
# Module broadcom
cd $SRC
+patch -p0 src/wl/sys/wl_linux.c < bc_wl_abiupdate.patch
KBUILD_NOPEDANTIC=1 make -C $SRC/linux-${_BaseVersion} M=`pwd`
install -m 0644 -D wl.ko $PKG/lib/modules/${version}/kernel/drivers/zzzz/wl.ko
diff --git a/kernel/bc_wl_abiupdate.patch b/kernel/bc_wl_abiupdate.patch
new file mode 100644
index 000000000..a4a216b38
--- /dev/null
+++ b/kernel/bc_wl_abiupdate.patch
@@ -0,0 +1,4 @@
+332c332
+< .ndo_set_multicast_list = wl_set_multicast_list,
+---
+> .ndo_set_rx_mode = wl_set_multicast_list,