From: Pavel Roskin Date: Wed, 13 Nov 2013 21:38:57 +0000 (-0500) Subject: Extend support for AHB to Linux 2.6.15 and newer X-Git-Url: http://git.ozo.com/?p=madwifi%2F.git;a=commitdiff_plain;h=56076e4f264ff048bfc7d5fa2b6a4fcc5457f7a9 Extend support for AHB to Linux 2.6.15 and newer Linux 2.6.15 introduces platform_driver_register() that if_ath_ahb.c is using. --- diff --git a/INSTALL b/INSTALL index 8c05d7e..25846f2 100644 --- a/INSTALL +++ b/INSTALL @@ -32,7 +32,7 @@ Linux kernels starting with version 2.6.13 should work without problems. Due to quick pace of Linux development, there is no way compatibility with the future 2.6 kernels can be ensured. However, the latest 2.6 kernel at the time of the release should be expected to work. For AHB -support, Linux 2.6.19 or newer is required. +support, Linux 2.6.15 or newer is required. Automatic module loading support (CONFIG_KMOD) is highly recommended; otherwise, you'll need to load all required modules manually. diff --git a/ath/if_ath_ahb.c b/ath/if_ath_ahb.c index 072cfa2..7fa185d 100644 --- a/ath/if_ath_ahb.c +++ b/ath/if_ath_ahb.c @@ -34,8 +34,8 @@ #include "if_ath_ahb.h" #include "ah_soc.h" -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) -#error "Kernel versions older than 2.6.19 are not supported!" +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15) +#error "Kernel versions older than 2.6.15 are not supported!" #endif /*