]> git.pld-linux.org Git - packages/wl.git/commitdiff
- patch for linux-3.2+
authorJan Wideł <jasw@pld-linux.org>
Tue, 3 Jul 2012 09:41:23 +0000 (09:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b81693d9149c598302e8eb9c20cb20330d922c8e
- patch for linux-3.4+
- patches addapted from: https://launchpad.net/ubuntu/+source/bcmwl/5.100.82.38+bdcom-0ubuntu7
- work on 3.3.7 x86_64
- rel++

Changed files:
    kernel-net-wl-linux-3.2.patch -> 1.1
    kernel-net-wl-linux-3.4.patch -> 1.1
    kernel-net-wl.spec -> 1.16

kernel-net-wl-linux-3.2.patch [new file with mode: 0644]
kernel-net-wl-linux-3.4.patch [new file with mode: 0644]
kernel-net-wl.spec

diff --git a/kernel-net-wl-linux-3.2.patch b/kernel-net-wl-linux-3.2.patch
new file mode 100644 (file)
index 0000000..4e1be81
--- /dev/null
@@ -0,0 +1,10 @@
+--- src/wl/sys/wl_linux.c      2012-02-07 22:50:48.712066171 +0200
++++ src/wl/sys/wl_linux.c      2012-02-07 22:52:12.108479718 +0200
+@@ -391,7 +391,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 --git a/kernel-net-wl-linux-3.4.patch b/kernel-net-wl-linux-3.4.patch
new file mode 100644 (file)
index 0000000..e39be98
--- /dev/null
@@ -0,0 +1,12 @@
+--- src/wl/sys/wl_linux.c
++++ 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>
index a3c41e92b311e07c0d4b69db7668173edebf8f7c..85df26c25ad19fe7e20b0e4c83b22314d59b5c68 100644 (file)
@@ -4,7 +4,7 @@
 
 %define                _enable_debug_packages  0
 
-%define                rel     1
+%define                rel     2
 %define                pname   wl
 Summary:       Linux kernel module for BCM network cards
 Name:          %{pname}%{_alt_kernel}
@@ -20,6 +20,8 @@ Source1:      http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v%{file_ve
 Source2:       http://www.broadcom.com/docs/linux_sta/README.txt
 # Source2-md5: 24976921c7b8854ed2cd56fbc5b1c13c
 Patch0:                broadcom-sta_4_kernel-2.6.37.patch
+Patch1:                kernel-net-wl-linux-3.2.patch
+Patch2:                kernel-net-wl-linux-3.4.patch
 URL:           http://www.broadcom.com/support/802.11/linux_sta.php
 %{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
 BuildRequires: rpmbuild(macros) >= 1.379
@@ -57,6 +59,8 @@ This package contains Linux module.
 %endif
 %setup -c -T -q -n %{pname}-%{version} -b%src
 %patch0 -p0
+%patch1 -p0
+%patch2 -p0
 
 cat > Makefile << EOF
 obj-m  += wl.o
This page took 0.032325 seconds and 4 git commands to generate.