[Lunar-commits] <moonbase> broadcom-wifi: exclusive for Lunar Linux MSI interrupts added to driver I have created a patch for Broadcom driver which adds support for MSI interrupts. Thanks to this patch I'm able to avoid interrupt sharing in my netbook. Let Lunar users have it exclusively first.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Thu May 24 21:42:37 CEST 2012


commit a6759753d4955ac6e6caee93c4b55c8f1a83ba73
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Thu May 24 21:42:37 2012 +0200

    broadcom-wifi: exclusive for Lunar Linux MSI interrupts added to driver
    I have created a patch for Broadcom driver which adds support for MSI interrupts.
    Thanks to this patch I'm able to avoid interrupt sharing in my netbook.
    Let Lunar users have it exclusively first.
    
    Second patch I made adds extended compatibility for kernels 2.6.39-3.4
---
 wifi/broadcom-wifi/BUILD          |   10 +++-------
 wifi/broadcom-wifi/DETAILS        |    9 ++++++---
 wifi/broadcom-wifi/DETAILS.x86_64 |   11 +++++++----
 wifi/broadcom-wifi/PRE_BUILD      |    2 --
 4 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/wifi/broadcom-wifi/BUILD b/wifi/broadcom-wifi/BUILD
index 0e9d000..01aeed3 100644
--- a/wifi/broadcom-wifi/BUILD
+++ b/wifi/broadcom-wifi/BUILD
@@ -1,13 +1,9 @@
 (
+
   make clean &&
   patch_it $SOURCE2 1 &&
-  # Fix for http://patchwork.ozlabs.org/patch/110211/
-  if [ `uname -r | cut -d. -f1-2` == 3.2 ]; then
-  sedit 's/ndo_set_multicast_list/ndo_set_rx_mode/' src/wl/sys/wl_linux.c
-  fi &&
-  make &&
-  prepare_install &&
-  make install &&
+  patch_it $SOURCE3 1 &&
+  default_make &&
   depmod
 
 ) > $C_FIFO 2>&1
diff --git a/wifi/broadcom-wifi/DETAILS b/wifi/broadcom-wifi/DETAILS
index 1cf5e5e..d9f6d52 100644
--- a/wifi/broadcom-wifi/DETAILS
+++ b/wifi/broadcom-wifi/DETAILS
@@ -1,16 +1,19 @@
        MODULE=broadcom-wifi
       VERSION=v5_100_82_112
        SOURCE=hybrid-portsrc_x86_32-$VERSION.tar.gz
-      SOURCE2=broadcom-wifi-$VERSION-kernel2.6.39fix.patch.bz2
+      SOURCE2=hybrid-portsrc_x86-$VERSION-linux-3.4.patch.bz2
+      SOURCE3=hybrid-portsrc_x86-$VERSION-add-MSI.patch.bz2
    SOURCE_URL=http://www.broadcom.com/docs/linux_sta
   SOURCE2_URL=$PATCH_URL
+  SOURCE3_URL=$PATCH_URL
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
    SOURCE_VFY=sha1:01aa32f9e85621253a3f15cf4361bb80d41da3e8
-  SOURCE2_VFY=sha1:3cd3dd4ed8a57a8d6b94b542ab3a0fffb2d14f25
+  SOURCE2_VFY=sha1:ac3d5b73bc28b3accce1867bdf7cbfe556d14562
+  SOURCE3_VFY=sha1:0bee9504af2f20540d4a8a94b9a88400365fc415
      WEB_SITE=http://www.broadcom.com/support/802.11/linux_sta.php
       LICENSE="proprietary"
       ENTERED=20110227
-      UPDATED=20111031
+      UPDATED=20120523
         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
diff --git a/wifi/broadcom-wifi/DETAILS.x86_64 b/wifi/broadcom-wifi/DETAILS.x86_64
index 1518e44..a54adea 100644
--- a/wifi/broadcom-wifi/DETAILS.x86_64
+++ b/wifi/broadcom-wifi/DETAILS.x86_64
@@ -1,16 +1,19 @@
        MODULE=broadcom-wifi
       VERSION=v5_100_82_112
        SOURCE=hybrid-portsrc_x86_64-$VERSION.tar.gz
-      SOURCE2=broadcom-wifi-$VERSION-kernel2.6.39fix.patch.bz2
+      SOURCE2=hybrid-portsrc_x86-$VERSION-linux-3.4.patch.bz2
+      SOURCE3=hybrid-portsrc_x86-$VERSION-add-MSI.patch.bz2
    SOURCE_URL=http://www.broadcom.com/docs/linux_sta
   SOURCE2_URL=$PATCH_URL
+  SOURCE3_URL=$PATCH_URL
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
    SOURCE_VFY=sha1:5bd78c20324e6a4aa9f3fafdc6f0155e884d5131
-  SOURCE2_VFY=sha1:3cd3dd4ed8a57a8d6b94b542ab3a0fffb2d14f25
+  SOURCE2_VFY=sha1:ac3d5b73bc28b3accce1867bdf7cbfe556d14562
+  SOURCE3_VFY=sha1:0bee9504af2f20540d4a8a94b9a88400365fc415
      WEB_SITE=http://www.broadcom.com/support/802.11/linux_sta.php
-    LICENSE="proprietary"
+      LICENSE="proprietary"
       ENTERED=20110227
-      UPDATED=20111031
+      UPDATED=20120523
         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
diff --git a/wifi/broadcom-wifi/PRE_BUILD b/wifi/broadcom-wifi/PRE_BUILD
index f1e5a15..fd97d3b 100644
--- a/wifi/broadcom-wifi/PRE_BUILD
+++ b/wifi/broadcom-wifi/PRE_BUILD
@@ -1,5 +1,3 @@
 mk_source_dir $SOURCE_DIRECTORY &&
 cd $SOURCE_DIRECTORY &&
-cp $SOURCE_CACHE/$SOURCE . &&
-cp $SOURCE_CACHE/$SOURCE2 . &&
 unpack $SOURCE


More information about the Lunar-commits mailing list