mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
bcm_sta: update to bcm_sta-5.100.82.112, fix build with linux-3.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1ca3ce335e
commit
1ca0f8f8fe
@ -19,12 +19,12 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="bcm_sta"
|
PKG_NAME="bcm_sta"
|
||||||
PKG_VERSION="5.100.82.38"
|
PKG_VERSION="5.100.82.112"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="i386 x86_64"
|
PKG_ARCH="i386 x86_64"
|
||||||
PKG_LICENSE="nonfree"
|
PKG_LICENSE="nonfree"
|
||||||
PKG_SITE="http://www.broadcom.com/"
|
PKG_SITE="http://www.broadcom.com/"
|
||||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain linux"
|
PKG_BUILD_DEPENDS="toolchain linux"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
diff -Naur bcm_sta-5.100.82.112/x86-32/src/wl/sys/wl_linux.c bcm_sta-5.100.82.112.patch/x86-32/src/wl/sys/wl_linux.c
|
||||||
|
--- bcm_sta-5.100.82.112/x86-32/src/wl/sys/wl_linux.c 2011-10-22 18:55:54.000000000 +0200
|
||||||
|
+++ bcm_sta-5.100.82.112.patch/x86-32/src/wl/sys/wl_linux.c 2011-12-21 16:54:17.752384441 +0100
|
||||||
|
@@ -385,7 +385,7 @@
|
||||||
|
#endif
|
||||||
|
.ndo_get_stats = wl_get_stats,
|
||||||
|
.ndo_set_mac_address = wl_set_mac_address,
|
||||||
|
- .ndo_set_multicast_list = wl_set_multicast_list,
|
||||||
|
+ .ndo_set_rx_mode = wl_set_multicast_list,
|
||||||
|
.ndo_do_ioctl = wl_ioctl
|
||||||
|
};
|
||||||
|
|
||||||
|
diff -Naur bcm_sta-5.100.82.112/x86-64/src/wl/sys/wl_linux.c bcm_sta-5.100.82.112.patch/x86-64/src/wl/sys/wl_linux.c
|
||||||
|
--- bcm_sta-5.100.82.112/x86-64/src/wl/sys/wl_linux.c 2011-10-22 18:56:55.000000000 +0200
|
||||||
|
+++ bcm_sta-5.100.82.112.patch/x86-64/src/wl/sys/wl_linux.c 2011-12-21 16:54:32.486670945 +0100
|
||||||
|
@@ -385,7 +385,7 @@
|
||||||
|
#endif
|
||||||
|
.ndo_get_stats = wl_get_stats,
|
||||||
|
.ndo_set_mac_address = wl_set_mac_address,
|
||||||
|
- .ndo_set_multicast_list = wl_set_multicast_list,
|
||||||
|
+ .ndo_set_rx_mode = wl_set_multicast_list,
|
||||||
|
.ndo_do_ioctl = wl_ioctl
|
||||||
|
};
|
||||||
|
|
@ -1,24 +0,0 @@
|
|||||||
diff -Naur bcm_sta-5.100.82.38/x86-32/src/wl/sys/wl_linux.c bcm_sta-5.100.82.38.patch/x86-32/src/wl/sys/wl_linux.c
|
|
||||||
--- bcm_sta-5.100.82.38/x86-32/src/wl/sys/wl_linux.c 2010-12-15 02:58:07.000000000 +0100
|
|
||||||
+++ bcm_sta-5.100.82.38.patch/x86-32/src/wl/sys/wl_linux.c 2010-12-27 23:42:21.319475865 +0100
|
|
||||||
@@ -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,
|
|
||||||
diff -Naur bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c
|
|
||||||
--- bcm_sta-5.100.82.38/x86-64/src/wl/sys/wl_linux.c 2010-12-15 03:01:09.000000000 +0100
|
|
||||||
+++ bcm_sta-5.100.82.38.patch/x86-64/src/wl/sys/wl_linux.c 2010-12-27 23:42:38.462649098 +0100
|
|
||||||
@@ -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…
x
Reference in New Issue
Block a user