summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acx-2.6.30.patch13
-rw-r--r--acx.spec4
2 files changed, 16 insertions, 1 deletions
diff --git a/acx-2.6.30.patch b/acx-2.6.30.patch
new file mode 100644
index 0000000..0211180
--- /dev/null
+++ b/acx-2.6.30.patch
@@ -0,0 +1,13 @@
+--- acx-20070101/wlan_compat.h.orig 2006-05-20 20:27:57.000000000 +0200
++++ acx-20070101/wlan_compat.h 2009-08-28 18:52:52.000000000 +0200
+@@ -221,8 +221,10 @@
+ #ifndef IRQ_NONE
+ #define IRQ_NONE
+ #define IRQ_HANDLED
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
+ typedef void irqreturn_t;
+ #endif
++#endif
+
+ #ifndef ARPHRD_IEEE80211_PRISM
+ #define ARPHRD_IEEE80211_PRISM 802
diff --git a/acx.spec b/acx.spec
index 548ec32..bf2a36c 100644
--- a/acx.spec
+++ b/acx.spec
@@ -8,7 +8,7 @@ Summary: Linux driver for WLAN card base on ACX100/ACX111
Summary(pl.UTF-8): Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100/ACX111
Name: acx
Version: 20070101
-%define _rel 3
+%define _rel 4
Release: %{_rel}
License: MPL or GPL
Group: Base/Kernel
@@ -18,6 +18,7 @@ Patch0: %{name}-skb.patch
# based on https://dev.openwrt.org/browser/trunk/package/acx/patches/003-2.6.24-compat.diff?rev=10425&format=txt
Patch1: %{name}-2.6.24.patch
Patch2: %{name}-2.6.29.patch
+Patch3: %{name}-2.6.30.patch
URL: http://acx100.sourceforge.net/
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
BuildRequires: rpmbuild(macros) >= 1.379
@@ -49,6 +50,7 @@ Sterownik dla Linuksa do kart WLAN opartych o układ ACX100/ACX111.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%build_kernel_modules -m acx