[Lunar-commits] <moonbase> broadcom-wifi: binary driver for recent Broadcom's WIFI

Zbigniew Luszpinski zbiggy at lunar-linux.org
Mon Feb 28 01:10:38 CET 2011


commit d2ef3e77fc8d0b18e634f49fbf867da2650f4c1a
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Mon Feb 28 01:10:38 2011 +0100

    broadcom-wifi: binary driver for recent Broadcom's WIFI
---
 kernel/kernel-reqs/POST_INSTALL   |    2 +-
 wifi/broadcom-wifi/BUILD          |   10 ++++++++++
 wifi/broadcom-wifi/DETAILS        |   20 ++++++++++++++++++++
 wifi/broadcom-wifi/DETAILS.x86_64 |   20 ++++++++++++++++++++
 wifi/broadcom-wifi/POST_INSTALL   |    6 ++++++
 wifi/broadcom-wifi/PRE_BUILD      |    4 ++++
 6 files changed, 61 insertions(+), 1 deletions(-)

diff --git a/kernel/kernel-reqs/POST_INSTALL b/kernel/kernel-reqs/POST_INSTALL
index d81ef3d..d007707 100644
--- a/kernel/kernel-reqs/POST_INSTALL
+++ b/kernel/kernel-reqs/POST_INSTALL
@@ -1,4 +1,4 @@
-kreqs="alsa-driver bluez-kernel cipe cryptoapi cvsfs drm-git e1000 fglrx ftpfs fuse gspcav1 hostap-driver ieee80211 igb iptables ipw2100 ipw2200 ipw3945 iwlwifi ixgbe i2c kqemu kvm ltmodem ndiswrapper madwifi madwifi-svn mwavem NFORCE NVIDIA NVIDIA-old NVIDIA-beta NVIDIA-legacy NVIDIA-fx openafs-driver pcmcia-cs r8168 slmodem snare-core submount virtualbox-module open-vm-tools"
+kreqs="alsa-driver bluez-kernel cipe cryptoapi cvsfs drm-git e1000 fglrx ftpfs fuse gspcav1 hostap-driver ieee80211 igb iptables ipw2100 ipw2200 ipw3945 iwlwifi ixgbe i2c kqemu kvm ltmodem ndiswrapper madwifi madwifi-svn mwavem NFORCE NVIDIA NVIDIA-old NVIDIA-beta NVIDIA-legacy NVIDIA-fx openafs-driver pcmcia-cs r8168 slmodem snare-core submount virtualbox-module open-vm-tools broadcom-wifi"
 
 for req in $kreqs; do
   if module_installed $req ; then
diff --git a/wifi/broadcom-wifi/BUILD b/wifi/broadcom-wifi/BUILD
new file mode 100644
index 0000000..60daa6b
--- /dev/null
+++ b/wifi/broadcom-wifi/BUILD
@@ -0,0 +1,10 @@
+(
+  make clean &&
+  patch_it $SOURCE2 1 &&
+  make &&
+  prepare_install &&
+  install -m644 wl.ko /lib/modules/`uname -r`/kernel/net/wireless/wl.ko &&
+  depmod
+
+) > $C_FIFO 2>&1
+
diff --git a/wifi/broadcom-wifi/DETAILS b/wifi/broadcom-wifi/DETAILS
new file mode 100644
index 0000000..24bee65
--- /dev/null
+++ b/wifi/broadcom-wifi/DETAILS
@@ -0,0 +1,20 @@
+       MODULE=broadcom-wifi
+      VERSION=v5_100_82_38
+       SOURCE=hybrid-portsrc_x86_32-$VERSION.tar.gz
+      SOURCE2=hybrid-portsrc-v5_100_82_38.patch.bz2
+   SOURCE_URL=http://www.broadcom.com/docs/linux_sta
+  SOURCE2_URL=$PATCH_URL
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+   SOURCE_VFY=sha1:3062830f86c5f1f41d8a4b26d6e0072dc989c7ba
+  SOURCE2_VFY=sha1:98eaa5081e83040afd78b0b803c7dabe307f46be
+     WEB_SITE=http://www.broadcom.com/support/802.11/linux_sta.php
+      LICENSE="proprietary"
+      ENTERED=20110227
+      UPDATED=20110227
+        SHORT="Broadcom WIFI 802.11a/b/g/n hybrid Linux binary driver"
+cat << EOF
+Broadcom IEEE 802.11a/b/g/n hybrid binary Linux device driver
+for use with Broadcom's BCM4311-, BCM4312-, BCM4313-,
+BCM4321-, BCM4322-, BCM43224-, and BCM43225-,
+BCM43227- and BCM43228-based hardware.
+EOF
diff --git a/wifi/broadcom-wifi/DETAILS.x86_64 b/wifi/broadcom-wifi/DETAILS.x86_64
new file mode 100644
index 0000000..14b4385
--- /dev/null
+++ b/wifi/broadcom-wifi/DETAILS.x86_64
@@ -0,0 +1,20 @@
+       MODULE=broadcom-wifi
+      VERSION=v5_100_82_38
+       SOURCE=hybrid-portsrc_x86_64-$VERSION.tar.gz
+      SOURCE2=hybrid-portsrc-v5_100_82_38.patch.bz2
+   SOURCE_URL=http://www.broadcom.com/docs/linux_sta
+  SOURCE2_URL=$PATCH_URL
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+   SOURCE_VFY=sha1:6076de3bd8206b3e7b8bfc2eadbe3a97eec4e735
+  SOURCE2_VFY=sha1:98eaa5081e83040afd78b0b803c7dabe307f46be
+     WEB_SITE=http://www.broadcom.com/support/802.11/linux_sta.php
+    LICENSE="proprietary"
+      ENTERED=20110227
+      UPDATED=20110227
+        SHORT="Broadcom WIFI 802.11a/b/g/n hybrid Linux binary driver"
+cat << EOF
+Broadcom IEEE 802.11a/b/g/n hybrid binary Linux device driver
+for use with Broadcom's BCM4311-, BCM4312-, BCM4313-,
+BCM4321-, BCM4322-, BCM43224-, and BCM43225-,
+BCM43227- and BCM43228-based hardware.
+EOF
diff --git a/wifi/broadcom-wifi/POST_INSTALL b/wifi/broadcom-wifi/POST_INSTALL
new file mode 100644
index 0000000..cdc8c97
--- /dev/null
+++ b/wifi/broadcom-wifi/POST_INSTALL
@@ -0,0 +1,6 @@
+for mod in `lsmod | grep 'b43|ssb|wl'`; do rmmod $mod; done
+touch /etc/modprobe.d/blacklist.conf
+grep 'blacklist ssb' /etc/modprobe.d/blacklist.conf || echo 'blacklist ssb' >> /etc/modprobe.d/blacklist.conf
+grep 'blacklist b43' /etc/modprobe.d/blacklist.conf || echo 'blacklist b43' >> /etc/modprobe.d/blacklist.conf
+modprobe lib80211
+modprobe wl
diff --git a/wifi/broadcom-wifi/PRE_BUILD b/wifi/broadcom-wifi/PRE_BUILD
new file mode 100644
index 0000000..149e8d0
--- /dev/null
+++ b/wifi/broadcom-wifi/PRE_BUILD
@@ -0,0 +1,4 @@
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+cp $SOURCE_CACHE/$SOURCE . &&
+unpack $SOURCE


More information about the Lunar-commits mailing list