mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
network/broadcom-sta: Updated for version 5.100.82.112.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
3738360647
commit
f87812f367
4 changed files with 14 additions and 22 deletions
|
@ -4,3 +4,10 @@ their cards. Known supported model numbers include the BCM4311, BCM4312,
|
|||
BCM4321, and BCM4322 chipsets.
|
||||
|
||||
Read the included LICENSE.txt file (placed in /usr/doc) before using this.
|
||||
|
||||
You may also want to create /etc/modprobe.d/b43_blacklist.conf and add the
|
||||
following lines to it:
|
||||
blacklist b43
|
||||
blacklist b43legacy
|
||||
blacklist bcma
|
||||
blacklist ssb
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
# Public domain.
|
||||
|
||||
PRGNAM=broadcom-sta
|
||||
VERSION=5.100.82.38
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=5.100.82.112
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
KERNEL=${KERNEL:-$(uname -r)}
|
||||
|
@ -42,9 +42,6 @@ mkdir -p $TMP $WORKDIR $PKG $OUTPUT
|
|||
cd $WORKDIR
|
||||
tar xvf $CWD/hybrid-portsrc_${MY_ARCH}-v$(printf $VERSION|tr . _).tar.gz
|
||||
|
||||
# Fix API change in newer kernels
|
||||
patch -p1 < $CWD/wl_linux.c-semaphore.patch
|
||||
|
||||
# Build the module
|
||||
make -C /lib/modules/$KERNEL/build M=$WORKDIR clean
|
||||
make -C /lib/modules/$KERNEL/build M=$WORKDIR
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="broadcom-sta"
|
||||
VERSION="5.100.82.38"
|
||||
VERSION="5.100.82.112"
|
||||
HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php"
|
||||
DOWNLOAD="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_32-v5_100_82_38.tar.gz"
|
||||
MD5SUM="c0074a1622c75916442e26763ddf47d0"
|
||||
DOWNLOAD_x86_64="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_38.tar.gz"
|
||||
MD5SUM_x86_64="cac172f7422fa43264049c7065fe21d6"
|
||||
DOWNLOAD="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_32-v5_100_82_112.tar.gz"
|
||||
MD5SUM="62d04d148b99f993ef575a71332593a9"
|
||||
DOWNLOAD_x86_64="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_112.tar.gz"
|
||||
MD5SUM_x86_64="310d7ce233a9a352fbe62c451b2ea309"
|
||||
MAINTAINER="David Matthew Jerry Koenig"
|
||||
EMAIL="koenigdavidmj@gmail.com"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
diff -Nur orig//src/wl/sys/wl_linux.c fixed/src/wl/sys/wl_linux.c
|
||||
--- orig//src/wl/sys/wl_linux.c 2010-12-14 19:58:07.000000000 -0600
|
||||
+++ fixed/src/wl/sys/wl_linux.c 2011-03-09 12:32:47.236260917 -0600
|
||||
@@ -482,7 +482,7 @@
|
||||
#ifdef WL_ALL_PASSIVE
|
||||
spin_lock_init(&wl->txq_lock);
|
||||
#endif
|
||||
- init_MUTEX(&wl->sem);
|
||||
+ sema_init(&wl->sem,1);
|
||||
}
|
||||
|
||||
if (!(wl->wlc = wlc_attach((void *) wl, vendor, device, unit, wl->piomode,
|
Loading…
Reference in a new issue