Browse Source

self-build-broadcom-wl-5.100.82.112-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6100 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 12 years ago
parent
commit
2f4f5b480f

+ 15 - 0
nonfree/self-build-broadcom-wl/5_100_82_112.patch

@@ -0,0 +1,15 @@
+diff -urN orig/src/wl/sys/wl_linux.c new/src/wl/sys/wl_linux.c
+--- orig/src/wl/sys/wl_linux.c	2011-10-23 01:55:54.000000000 +0900
++++ new/src/wl/sys/wl_linux.c	2012-05-01 20:08:43.937977896 +0900
+@@ -385,7 +385,11 @@
+ #endif
+ 	.ndo_get_stats = wl_get_stats,
+ 	.ndo_set_mac_address = wl_set_mac_address,
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
++	.ndo_set_rx_mode = wl_set_multicast_list,
++#else
+ 	.ndo_set_multicast_list = wl_set_multicast_list,
++#endif
+ 	.ndo_do_ioctl = wl_ioctl
+ };
+ 

+ 0 - 14
nonfree/self-build-broadcom-wl/5_100_82_38.patch

@@ -1,14 +0,0 @@
---- a/src/wl/sys/wl_linux.c	2011-08-14 21:19:36.000000000 +0900
-+++ b/src/wl/sys/wl_linux.c	2011-08-14 21:35:53.000000000 +0900
-@@ -482,7 +482,11 @@
- #ifdef WL_ALL_PASSIVE
- 		spin_lock_init(&wl->txq_lock);
- #endif 
-+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37)
-+		sema_init(&wl->sem, 1);
-+#else
- 		init_MUTEX(&wl->sem);
-+#endif
- 	}
- 
- 	if (!(wl->wlc = wlc_attach((void *) wl, vendor, device, unit, wl->piomode,

+ 8 - 3
nonfree/self-build-broadcom-wl/self-build-broadcom-wl.spec

@@ -15,11 +15,11 @@
 Summary:	Package to automatically build %{pkgname} rpm package
 Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
 Name:		%{name}
-Version:	5.100.82.38
-Release: 	3%{?_dist_release}
+Version:	5.100.82.112
+Release: 	1%{?_dist_release}
 Source0:	%{pkgname}.spec
 Source1:	blacklist-broadcom.conf
-Source2:	5_100_82_38.patch
+Source2:	5_100_82_112.patch
 
 License:	Freeware and GPLv2 with exception
 Group:		Restricted Software
@@ -112,6 +112,11 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue May 01 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.100.82.112-1
+- new upstream release.
+- dropped an old patch.
+- added SOURCE2 to compile for kernel-3.2.x.
+
 * Tue Oct  4 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.100.82.38-3
 - update SOURCE1 (see: http://www.broadcom.com/docs/linux_sta/bcma.txt)