MD5 a4b2153476d6759ee96ab8b4ac7df4aa files/linux-wlan-ng-0.2.3-module_param.patch 657
RMD160 0e21471899880143a13c5bce33e13b0051b005e9 files/linux-wlan-ng-0.2.3-module_param.patch 657
SHA256 4c0edbb9008680c1c1e2972ee4b0bd20245e3664ae48f6cd33d3589351398c81 files/linux-wlan-ng-0.2.3-module_param.patch 657
+AUX linux-wlan-ng-0.2.5-kernel-2.6.19.patch 7302 RMD160 6d73d67b0010ba0c5760ff76cf097378fbb43a7c SHA1 c1eb2d0c4f288e92227d4031bd8e1227c5c9cb94 SHA256 ade394bb77e3b5b6e0397558901a2fffdc532364df9e6615d779cca8ca647427
+MD5 a3b2b535fd2a6891490a8daef9410da8 files/linux-wlan-ng-0.2.5-kernel-2.6.19.patch 7302
+RMD160 6d73d67b0010ba0c5760ff76cf097378fbb43a7c files/linux-wlan-ng-0.2.5-kernel-2.6.19.patch 7302
+SHA256 ade394bb77e3b5b6e0397558901a2fffdc532364df9e6615d779cca8ca647427 files/linux-wlan-ng-0.2.5-kernel-2.6.19.patch 7302
+AUX linux-wlan-ng-0.2.5-sandbox.patch 603 RMD160 2499eaba829a3291ba5784776c9b43afc15e362e SHA1 0f61e41929e4730ef0454a4cdf22ac5982a422f1 SHA256 5337c3fafefd23ffaca670629ca53ec1d3bc22b6a4bf580f9c85fadd6d41721d
+MD5 b0544da489d867dea11ab5f1d51292a7 files/linux-wlan-ng-0.2.5-sandbox.patch 603
+RMD160 2499eaba829a3291ba5784776c9b43afc15e362e files/linux-wlan-ng-0.2.5-sandbox.patch 603
+SHA256 5337c3fafefd23ffaca670629ca53ec1d3bc22b6a4bf580f9c85fadd6d41721d files/linux-wlan-ng-0.2.5-sandbox.patch 603
DIST linux-wlan-ng-0.2.3.tar.bz2 454053 RMD160 a39a6f17dd8a745992a557605d3f5734d8b7de95 SHA1 72fdb2d7af8e071db169b56df594d0ce8a91abc8 SHA256 97004d6cefd1b5c5f37efc1603e4103f9a809d79f8cc0faf2397fa882cdd6ee6
DIST linux-wlan-ng-0.2.5.tar.bz2 457056 RMD160 3bd08380d9bd131ad960a8b3c9dd87972254357a SHA1 6f95e8e63b3271e3d6b88ec0eb267027b8c6d436 SHA256 882f5fe8c3e3a2538f59e96d002866aea1ce3ad33396da0cea7721455f4a42be
EBUILD linux-wlan-ng-modules-0.2.3-r1.ebuild 2510 RMD160 2fade836ca03776ec9f1077bf9d7a273d41eed32 SHA1 2e7806656302676733584ac7a4264635c9a98b31 SHA256 4a856ece9dee6525b03bfa35164a8af413f87980db627ee95fe3e23d11490ace
MD5 015b374d963ba35da2a7cbc890bc78a6 linux-wlan-ng-modules-0.2.3.ebuild 3046
RMD160 c82309c9e0d001f92bffdb07245c7f75ff8d9a4d linux-wlan-ng-modules-0.2.3.ebuild 3046
SHA256 b7038aee66b9a6b787aa7d6d7b181eb1dd90d2b1e7da520536dbc957072333fe linux-wlan-ng-modules-0.2.3.ebuild 3046
+EBUILD linux-wlan-ng-modules-0.2.5-r1.ebuild 2387 RMD160 6b4733ae71eea5a49e1bdddb0610a3c0a5ded166 SHA1 28294364b228051ad26a46c21b7bd1da761f46b5 SHA256 36cd471b061884a8c3e0203ea78ce51e1447ba92cb51b4c2102d708d23a8bc95
+MD5 b6c8bf707c7fd3577d9ebdbe60cce211 linux-wlan-ng-modules-0.2.5-r1.ebuild 2387
+RMD160 6b4733ae71eea5a49e1bdddb0610a3c0a5ded166 linux-wlan-ng-modules-0.2.5-r1.ebuild 2387
+SHA256 36cd471b061884a8c3e0203ea78ce51e1447ba92cb51b4c2102d708d23a8bc95 linux-wlan-ng-modules-0.2.5-r1.ebuild 2387
EBUILD linux-wlan-ng-modules-0.2.5.ebuild 2276 RMD160 ccf1729d74c6f11d261c7aef97dc07b32b2519fc SHA1 14b564ca74966e4fa204a53c95c24807de3b5052 SHA256 5d20165ff7fa5a2b37597f5cce22ab15cb0417c4b1aa6182a561de5c1c9d5122
MD5 eb23b5b197bac28a3a57a3f1d23d5974 linux-wlan-ng-modules-0.2.5.ebuild 2276
RMD160 ccf1729d74c6f11d261c7aef97dc07b32b2519fc linux-wlan-ng-modules-0.2.5.ebuild 2276
SHA256 5d20165ff7fa5a2b37597f5cce22ab15cb0417c4b1aa6182a561de5c1c9d5122 linux-wlan-ng-modules-0.2.5.ebuild 2276
-MISC ChangeLog 2752 RMD160 997ccb3903b08e476bbec5eeade1b6d4241c189e SHA1 ec2b8d3e50ff8f0c6739f1e3f8f87b0e66deed71 SHA256 3dad6eeac702b305794ef44c031dd1c2a76f889dd84c1e4e85099a8bfa1e9033
-MD5 0f8559cb6cf7d7b567f3cb845704579e ChangeLog 2752
-RMD160 997ccb3903b08e476bbec5eeade1b6d4241c189e ChangeLog 2752
-SHA256 3dad6eeac702b305794ef44c031dd1c2a76f889dd84c1e4e85099a8bfa1e9033 ChangeLog 2752
+MISC ChangeLog 3119 RMD160 84de832ef90c2dc381d76826ad5a557d446eafcf SHA1 abd8decdee7480debb9c0beb3ed25b52c71a6fdf SHA256 2db40a5dc689d8f9ffbac6ee625106f214fb785addafa37c3fd86ef96003f022
+MD5 ae6c17c7055c943cfcad2b7ab9b5cdd5 ChangeLog 3119
+RMD160 84de832ef90c2dc381d76826ad5a557d446eafcf ChangeLog 3119
+SHA256 2db40a5dc689d8f9ffbac6ee625106f214fb785addafa37c3fd86ef96003f022 ChangeLog 3119
MISC metadata.xml 571 RMD160 a17abb45825b57ac44fc2c76bbddc05dfc70e6b1 SHA1 bcfab6e5905e962e40e46ce903f1d87fef96c24c SHA256 7c0a45fa8b25ff12fcc72f4a57755393f3c566706ad05cd839d583a541603a2c
MD5 bd46277fb8c768aa34612bb9cb43fe75 metadata.xml 571
RMD160 a17abb45825b57ac44fc2c76bbddc05dfc70e6b1 metadata.xml 571
MD5 81567922ffb52ccdfe432d79685d2f7e files/digest-linux-wlan-ng-modules-0.2.5 262
RMD160 b0fd850024c67510d7d5978f746985f7a4bcebed files/digest-linux-wlan-ng-modules-0.2.5 262
SHA256 a9bf03c54fa52ad9e711eefbc202fd134a55f9cc7c8c03e4a66b4986a51e6e5c files/digest-linux-wlan-ng-modules-0.2.5 262
+MD5 81567922ffb52ccdfe432d79685d2f7e files/digest-linux-wlan-ng-modules-0.2.5-r1 262
+RMD160 b0fd850024c67510d7d5978f746985f7a4bcebed files/digest-linux-wlan-ng-modules-0.2.5-r1 262
+SHA256 a9bf03c54fa52ad9e711eefbc202fd134a55f9cc7c8c03e4a66b4986a51e6e5c files/digest-linux-wlan-ng-modules-0.2.5-r1 262
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFKUzrcxLzpIGCsLQRAhUpAJ0ZZIr7rCQMO7b+fUMV+z4y/7l+SwCfTUUV
-jpzGzOBf7rjnivxJSwY6q2k=
-=DZai
+iD8DBQFFcptIcxLzpIGCsLQRAi5EAJ4knhJA21qFsXTidmDfynP7VwXdogCfRjNv
+OQLnPuma411gzV11KOI38g0=
+=7AAd
-----END PGP SIGNATURE-----
--- /dev/null
+Index: src/include/wlan/wlan_compat.h
+===================================================================
+--- src/include/wlan/wlan_compat.h (revision 1800)
++++ src/include/wlan/wlan_compat.h (working copy)
+@@ -89,6 +89,11 @@
+ #endif
+
+ #if defined(__KERNEL__)
++
++#ifndef AUTOCONF_INCLUDED
++#include <linux/config.h>
++#endif
++
+ #if defined(__x86_64__)
+ #define WLAN_CPU_FAMILY WLAN_x86_64
+ #define WLAN_SYSARCH WLAN_PCAT
+@@ -276,6 +281,12 @@
+
+ #if defined(__KERNEL__)
+
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19))
++#define PT_REGS , struct pt_regs *regs
++#else
++#define PT_REGS
++#endif
++
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,7))
+ # define del_singleshot_timer_sync(a) del_timer_sync(a)
+ #endif
+Index: src/p80211/p80211conv.c
+===================================================================
+--- src/p80211/p80211conv.c (revision 1800)
++++ src/p80211/p80211conv.c (working copy)
+@@ -54,7 +54,7 @@
+
+ #define __NO_VERSION__ /* prevent the static definition */
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/module.h>
+Index: src/p80211/p80211netdev.c
+===================================================================
+--- src/p80211/p80211netdev.c (revision 1800)
++++ src/p80211/p80211netdev.c (working copy)
+@@ -53,7 +53,7 @@
+ /*================================================================*/
+ /* System Includes */
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/module.h>
+Index: src/p80211/p80211req.c
+===================================================================
+--- src/p80211/p80211req.c (revision 1800)
++++ src/p80211/p80211req.c (working copy)
+@@ -53,7 +53,7 @@
+ /*================================================================*/
+ /* System Includes */
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/module.h>
+Index: src/p80211/p80211wext.c
+===================================================================
+--- src/p80211/p80211wext.c (revision 1800)
++++ src/p80211/p80211wext.c (working copy)
+@@ -37,7 +37,7 @@
+ /*================================================================*/
+ /* System Includes */
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/kernel.h>
+Index: src/p80211/p80211wep.c
+===================================================================
+--- src/p80211/p80211wep.c (revision 1800)
++++ src/p80211/p80211wep.c (working copy)
+@@ -48,7 +48,7 @@
+ /*================================================================*/
+ /* System Includes */
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/netdevice.h>
+Index: src/p80211/p80211mod.c
+===================================================================
+--- src/p80211/p80211mod.c (revision 1800)
++++ src/p80211/p80211mod.c (working copy)
+@@ -56,7 +56,7 @@
+ /*================================================================*/
+ /* System Includes */
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/module.h>
+Index: src/prism2/driver/hfa384x_usb.c
+===================================================================
+--- src/prism2/driver/hfa384x_usb.c (revision 1800)
++++ src/prism2/driver/hfa384x_usb.c (working copy)
+@@ -116,7 +116,7 @@
+
+ #include <wlan/version.h>
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/module.h>
+Index: src/prism2/driver/prism2_cs.c
+===================================================================
+--- src/prism2/driver/prism2_cs.c (revision 1800)
++++ src/prism2/driver/prism2_cs.c (working copy)
+@@ -41,7 +41,7 @@
+ #else
+ dev_link_t *prism2sta_attach(void);
+ static void prism2sta_detach(dev_link_t *link);
+-static int prism2sta_config(dev_link_t *link);
++static void prism2sta_config(dev_link_t *link);
+ static void prism2sta_release(u_long arg);
+ static int prism2sta_event (event_t event, int priority, event_callback_args_t *args);
+
+@@ -243,14 +243,13 @@
+ prism2sta_ifstate(wlandev, P80211ENUM_ifstate_disable);
+ #else
+ wlandev = link->priv;
+-#endif
+- wlandev = link->priv;
+
+ link->state |= DEV_SUSPEND;
+ if (link->state & DEV_CONFIG) {
+ prism2sta_ifstate(wlandev, P80211ENUM_ifstate_disable);
+ pcmcia_release_configuration(link->handle);
+ }
++#endif
+
+ DBFEXIT;
+
+Index: src/prism2/driver/prism2mgmt.c
+===================================================================
+--- src/prism2/driver/prism2mgmt.c (revision 1800)
++++ src/prism2/driver/prism2mgmt.c (working copy)
+@@ -63,7 +63,7 @@
+
+ #include <wlan/version.h>
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/if_arp.h>
+Index: src/prism2/driver/prism2mib.c
+===================================================================
+--- src/prism2/driver/prism2mib.c (revision 1800)
++++ src/prism2/driver/prism2mib.c (working copy)
+@@ -56,7 +56,7 @@
+
+ #include <wlan/version.h>
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/module.h>
+Index: src/prism2/driver/prism2sta.c
+===================================================================
+--- src/prism2/driver/prism2sta.c (revision 1800)
++++ src/prism2/driver/prism2sta.c (working copy)
+@@ -56,7 +56,7 @@
+
+ #include <wlan/version.h>
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/module.h>
+Index: src/prism2/driver/hfa384x.c
+===================================================================
+--- src/prism2/driver/hfa384x.c (revision 1800)
++++ src/prism2/driver/hfa384x.c (working copy)
+@@ -120,7 +120,7 @@
+ #define WLAN_DBVAR prism2_debug
+ #include <wlan/version.h>
+
+-#include <linux/config.h>
++
+ #include <linux/version.h>
+
+ #include <linux/module.h>
+@@ -3210,7 +3210,7 @@
+ * Call context:
+ * Ummm, could it be interrupt?
+ ----------------------------------------------------------------*/
+-irqreturn_t hfa384x_interrupt(int irq, void *dev_id, struct pt_regs *regs)
++irqreturn_t hfa384x_interrupt(int irq, void *dev_id PT_REGS)
+ {
+ int reg;
+ wlandevice_t *wlandev = (wlandevice_t*)dev_id;
+Index: src/README
+===================================================================
+--- src/README (revision 1800)
++++ src/README (working copy)
+@@ -53,4 +53,3 @@
+ src/prism2 - source for the Intersil PRISM2 MAC specific driver
+ src/shared - source files (.c) that are shared among two or more components
+ src/wlanctl - source for the wlanctl user-mode utility
+-src/wland - source for the wland user-mode utility
+Index: CHANGES
+===================================================================
+--- CHANGES (revision 1800)
++++ CHANGES (working copy)
+@@ -41,6 +41,11 @@
+ * Intersil Corporation as part of PRISM(R) chipset product development.
+ *
+ * --------------------------------------------------------------------
++ - 2.6.19+ uses a different IRQ handler function prototype.
++ - linux/config.h is no more on 2.6.19+ kernels.
++0.2.6
++ - Fix another error that affected <2.6.15 builds on some compilers
++ - Fix a cut-n-paste error that broke 2.6.18 builds.
+ 0.2.5
+ - 2.6.18-rc fixes.
+ - A few tweaks for Wireless-Extensions-21
+Index: config.in
+===================================================================
+--- config.in (revision 1800)
++++ config.in (working copy)
+@@ -1,6 +1,6 @@
+ WLAN_VERSION=0
+ WLAN_PATCHLEVEL=2
+-WLAN_SUBLEVEL=5
++WLAN_SUBLEVEL=6
+ WLAN_EXTRAVERSION=
+ #LINUX_SRC=/usr/src/linux
+ PCMCIA_SRC=
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.5-r1.ebuild,v 1.1 2006/12/03 09:39:11 betelgeuse Exp $
+
+inherit eutils linux-mod
+
+MY_PN=${PN/-modules/}
+MY_P=${MY_PN}-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Kernel modules for Prism2/2.5/3 based 802.11b USB wireless LAN products"
+HOMEPAGE="http://linux-wlan.org"
+SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2"
+
+LICENSE="|| ( GPL-2 MPL-1.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="debug"
+
+BUILD_TARGETS="default"
+BUILD_PARAMS="WLAN_SRC=${S}/src"
+
+DEPEND="!<net-wireless/linux-wlan-ng-0.2.2"
+
+pkg_setup() {
+ # We have to put this to the global scope inside the function or it will be
+ # reset between functions because the ebuild is sourced many times.
+
+ MODULE_NAMES="p80211(net/wireless:${S}/src/p80211)"
+ MODULE_NAMES="${MODULE_NAMES} prism2_usb(net/wireless:${S}/src/prism2/driver)"
+
+ linux-mod_pkg_setup
+}
+
+config_by_usevar() {
+ local config=${3}
+ [[ -z ${config} ]] && config=${S}/default.config
+
+ if use ${2}; then
+ echo "${1}=y" >> ${config}
+ else
+ echo "${1}=n" >> ${config}
+ fi
+}
+
+src_unpack() {
+ local config=${S}/default.config
+
+ unpack ${A}
+
+ cd ${S}
+ epatch "${FILESDIR}/${MY_PN}-0.2.5-kernel-2.6.19.patch"
+ epatch "${FILESDIR}/${MY_PN}-0.2.5-sandbox.patch"
+
+ cp ${S}/config.in ${config}
+
+ echo "TARGET_ROOT_ON_HOST=${D}" >> ${config}
+ echo "LINUX_SRC=${KERNEL_DIR}" >> ${config}
+ echo "FIRMWARE_DIR=/lib/firmware/" >> ${config}
+ echo "PRISM2_PCI=n" >> ${config}
+ echo "PRISM2_PLX=n" >> ${config}
+ echo "PRISM2_PCMCIA=n" >> ${config}
+ echo "PRISM2_USB=y" >> ${config}
+
+ config_by_usevar WLAN_DEBUG debug
+
+ sed -i -e "s:dep modules:modules:" ${S}/src/p80211/Makefile
+}
+
+src_compile() {
+ set_arch_to_kernel
+ emake default_config || die "emake default_config failed"
+ set_arch_to_portage
+
+ cd ${S}/src/mkmeta
+ emake || die "emake mkmeta failed"
+
+ linux-mod_src_compile
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo "Support for pci, plx and pcmcia drivers has been removed in"
+ einfo "revision. For pci, plx and pcmcia drivers try for example"
+ einfo "the hostap-driver or orinoco drivers. They both work with the"
+ einfo "standard wireless tools."
+ einfo ""
+ einfo "If they do not work, please report this to betelgeuse@gentoo.org."
+}