aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/broadcom-sta/bc_wl_abiupdate.patch21
-rw-r--r--network/broadcom-sta/broadcom-sta.SlackBuild4
2 files changed, 24 insertions, 1 deletions
diff --git a/network/broadcom-sta/bc_wl_abiupdate.patch b/network/broadcom-sta/bc_wl_abiupdate.patch
new file mode 100644
index 0000000000000..0e6e639b02a31
--- /dev/null
+++ b/network/broadcom-sta/bc_wl_abiupdate.patch
@@ -0,0 +1,21 @@
+--- a/src/wl/sys/wl_linux.c 2009-06-19 12:30:52.000000000 -0500
++++ b/src/wl/sys/wl_linux.c 2011-01-11 22:21:10.623044411 -0600
+
+332c332
+< .ndo_set_multicast_list = wl_set_multicast_list,
+---
+> .ndo_set_rx_mode = wl_set_multicast_list,
+
+
+--- a/src/wl/sys/wl_linux.c
++++ b/src/wl/sys/wl_linux.c
+@@ -40,7 +40,9 @@
+ #include <linux/pci_ids.h>
+ #define WLC_MAXBSSCFG 1
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
+ #include <asm/system.h>
++#endif
+ #include <asm/io.h>
+ #include <asm/irq.h>
+ #include <asm/pgtable.h>
diff --git a/network/broadcom-sta/broadcom-sta.SlackBuild b/network/broadcom-sta/broadcom-sta.SlackBuild
index 7cc7bb0235cc4..161d0c57efd15 100644
--- a/network/broadcom-sta/broadcom-sta.SlackBuild
+++ b/network/broadcom-sta/broadcom-sta.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=broadcom-sta
VERSION=5.100.82.112
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -42,6 +42,8 @@ mkdir -p $TMP $WORKDIR $PKG $OUTPUT
cd $WORKDIR
tar xvf $CWD/hybrid-portsrc_${MY_ARCH}-v$(printf $VERSION|tr . _).tar.gz
+patch -p1 < $CWD/bc_wl_abiupdate.patch
+
# Build the module
make -C /lib/modules/$KERNEL/build M=$WORKDIR clean
make -C /lib/modules/$KERNEL/build M=$WORKDIR