From 73799e53ca4c2b2b8d084abc1e59f531e3c32fb4 Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 14 Jan 2012 11:13:16 +0100 Subject: kernel, ajout patch pour broadcom --- kernel/Pkgfile | 3 ++- kernel/bc_wl_abiupdate.patch | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 kernel/bc_wl_abiupdate.patch 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, -- cgit v1.2.3-70-g09d2