From 12f597e195428e74c0c0d8640d8d86d752a635b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bart=C5=82omiej=20Zimo=C5=84?= Date: Fri, 28 Aug 2009 16:58:58 +0000 Subject: [PATCH 1/1] - rel 4; with 2.6.30 patch Changed files: acx-2.6.30.patch -> 1.1 acx.spec -> 1.72 --- acx-2.6.30.patch | 13 +++++++++++++ acx.spec | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 acx-2.6.30.patch 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 -- 2.44.0