diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2005-11-02 20:45:13 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2005-11-02 20:45:13 +0000 |
commit | 141b27f3f9875fe468838cfafbcd42d6d613ab32 (patch) | |
tree | 11bb52b1bf475cf48f2f9f3e541f8139f9ccd43f /net-wireless | |
parent | Removed stuff that is identical in official. (diff) | |
download | betelgeuse-141b27f3f9875fe468838cfafbcd42d6d613ab32.tar.gz betelgeuse-141b27f3f9875fe468838cfafbcd42d6d613ab32.tar.bz2 betelgeuse-141b27f3f9875fe468838cfafbcd42d6d613ab32.zip |
Removed linux-wlan-ng-modules as changes are committed to official.
svn path=/; revision=94
Diffstat (limited to 'net-wireless')
8 files changed, 0 insertions, 431 deletions
diff --git a/net-wireless/linux-wlan-ng-modules/Manifest b/net-wireless/linux-wlan-ng-modules/Manifest deleted file mode 100644 index 7e86179..0000000 --- a/net-wireless/linux-wlan-ng-modules/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -MD5 9e66078bd27004847709f071774bd51d files/0.2.2-kernel-2.6.14.patch 6067 -MD5 f24842a9d1aeeaa901a2423011ef3b38 files/digest-linux-wlan-ng-modules-0.2.2 72 -MD5 f24842a9d1aeeaa901a2423011ef3b38 files/digest-linux-wlan-ng-modules-0.2.2-r1 72 -MD5 581c6aa56e352d9edfa2a935a23bcd0f files/linux-wlan-ng-0.2.2-module_param.patch 717 -MD5 37b22a7d181e28ac501d720af1dc595a linux-wlan-ng-modules-0.2.2-r1.ebuild 2317 -MD5 59daa46c782a26481d0b999d90f6629e linux-wlan-ng-modules-0.2.2.ebuild 2271 -MD5 bd46277fb8c768aa34612bb9cb43fe75 metadata.xml 571 diff --git a/net-wireless/linux-wlan-ng-modules/files/0.2.2-kernel-2.6.14.patch b/net-wireless/linux-wlan-ng-modules/files/0.2.2-kernel-2.6.14.patch deleted file mode 100644 index 44a89a5..0000000 --- a/net-wireless/linux-wlan-ng-modules/files/0.2.2-kernel-2.6.14.patch +++ /dev/null @@ -1,196 +0,0 @@ -Index: src/version.h.in -=================================================================== ---- src/version.h.in (revision 1748) -+++ src/version.h.in (revision 1750) -@@ -50,6 +50,7 @@ - #endif - - /* WLAN_HOSTIF (generally set on the command line, not detected) */ -+#define WLAN_NONE 0 - #define WLAN_PCMCIA 1 - #define WLAN_ISA 2 - #define WLAN_PCI 3 -Index: src/include/wlan/wlan_compat.h -=================================================================== ---- src/include/wlan/wlan_compat.h (revision 1748) -+++ src/include/wlan/wlan_compat.h (revision 1750) -@@ -568,6 +568,10 @@ - #define in_atomic() 0 - #endif - -+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13)) -+#define URB_ASYNC_UNLINK 0 -+#endif -+ - #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,7)) - #define URB_ASYNC_UNLINK USB_ASYNC_UNLINK - #define usb_fill_bulk_urb FILL_BULK_URB -Index: src/p80211/p80211frm.c -=================================================================== ---- src/p80211/p80211frm.c (revision 1748) -+++ src/p80211/p80211frm.c (revision 1750) -@@ -65,6 +65,7 @@ - #include <linux/string.h> - #include <asm/byteorder.h> - -+#include <wlan/version.h> - #include <wlan/wlan_compat.h> - - /*================================================================*/ -Index: src/p80211/p80211conv.c -=================================================================== ---- src/p80211/p80211conv.c (revision 1748) -+++ src/p80211/p80211conv.c (revision 1750) -@@ -70,13 +70,12 @@ - - #include <asm/byteorder.h> - -+#include <wlan/version.h> - #include <wlan/wlan_compat.h> - -- - /*================================================================*/ - /* Project Includes */ - --#include <wlan/version.h> - #include <wlan/p80211types.h> - #include <wlan/p80211hdr.h> - #include <wlan/p80211conv.h> -Index: src/p80211/p80211req.c -=================================================================== ---- src/p80211/p80211req.c (revision 1748) -+++ src/p80211/p80211req.c (revision 1750) -@@ -53,8 +53,6 @@ - /*================================================================*/ - /* System Includes */ - --#define __NO_VERSION__ /* prevent the static definition */ -- - #include <linux/config.h> - #include <linux/version.h> - -@@ -70,12 +68,12 @@ - #include <net/sock.h> - #include <linux/netlink.h> - -+#include <wlan/version.h> - #include <wlan/wlan_compat.h> - - /*================================================================*/ - /* Project Includes */ - --#include <wlan/version.h> - #include <wlan/p80211types.h> - #include <wlan/p80211hdr.h> - #include <wlan/p80211mgmt.h> -@@ -351,8 +349,13 @@ - void p80211indicate_init(void) - { - DBFENTER; -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)) -+ netlink_kernel_create( P80211_NL_SOCK_IND, &p80211ind_rx); -+#else - nl_indicate = -- netlink_kernel_create( P80211_NL_SOCK_IND, &p80211ind_rx); -+ netlink_kernel_create( P80211_NL_SOCK_IND, P80211_NL_MCAST_GRP_MLME, &p80211ind_rx, THIS_MODULE); -+ -+#endif - if ( nl_indicate == NULL ) { - WLAN_LOG_DEBUG(2,"Failed to create indicate netlink i/f.\n"); - } -Index: src/p80211/p80211wep.c -=================================================================== ---- src/p80211/p80211wep.c (revision 1748) -+++ src/p80211/p80211wep.c (revision 1750) -@@ -56,6 +56,7 @@ - #include <linux/slab.h> - #include <linux/random.h> - -+#include <wlan/version.h> - #include <wlan/wlan_compat.h> - - // #define WEP_DEBUG -Index: src/p80211/p80211mod.c -=================================================================== ---- src/p80211/p80211mod.c (revision 1748) -+++ src/p80211/p80211mod.c (revision 1750) -@@ -70,12 +70,12 @@ - #include <linux/wireless.h> - #include <linux/netdevice.h> - -+#include <wlan/version.h> - #include <wlan/wlan_compat.h> - - /*================================================================*/ - /* Project Includes */ - --#include <wlan/version.h> - #include <wlan/p80211types.h> - #include <wlan/p80211hdr.h> - #include <wlan/p80211mgmt.h> -Index: src/p80211/Makefile -=================================================================== ---- src/p80211/Makefile (revision 1748) -+++ src/p80211/Makefile (revision 1750) -@@ -50,7 +50,7 @@ - - ifneq ($(KERNELRELEASE),) - --EXTRA_CFLAGS += -I$(WLAN_SRC)/include $(WLAN_INCLUDE_DEBUG) -+EXTRA_CFLAGS += -I$(WLAN_SRC)/include $(WLAN_INCLUDE_DEBUG) -DWLAN_HOSTIF=WLAN_NONE - - ifeq ($(KERN_25), y) - -Index: src/prism2/driver/hfa384x_usb.c -=================================================================== ---- src/prism2/driver/hfa384x_usb.c (revision 1748) -+++ src/prism2/driver/hfa384x_usb.c (revision 1750) -@@ -2108,7 +2108,7 @@ - ctlx->outbuf.rmemreq.offset, - ctlx->outbuf.rmemreq.page); - -- WLAN_LOG_DEBUG(4,"pktsize=%d\n", -+ WLAN_LOG_DEBUG(4,"pktsize=%ld\n", - ROUNDUP64(sizeof(ctlx->outbuf.rmemreq))); - - ctlx->reapable = mode; -@@ -3131,7 +3131,7 @@ - - if (result) { - WLAN_LOG_WARNING( -- "Read from index %d failed, continuing\n", -+ "Read from index %ld failed, continuing\n", - i ); - continue; - } -@@ -4320,7 +4320,7 @@ - if ( skblen > - (sizeof(p80211msg_lnxind_wlansniffrm_t) + - WLAN_HDR_A4_LEN + WLAN_DATA_MAXLEN + WLAN_CRC_LEN) ) { -- WLAN_LOG_DEBUG(1, "overlen frm: len=%d\n", -+ WLAN_LOG_DEBUG(1, "overlen frm: len=%ld\n", - skblen - sizeof(p80211msg_lnxind_wlansniffrm_t)); - } - -Index: src/prism2/driver/prism2_cs.c -=================================================================== ---- src/prism2/driver/prism2_cs.c (revision 1748) -+++ src/prism2/driver/prism2_cs.c (revision 1750) -@@ -61,7 +61,7 @@ - ----------------------------------------------------------------*/ - static void cs_error(client_handle_t handle, int func, int ret) - { --#if CS_RELEASE_CODE < 0x2911 -+#if (defined(CS_RELEASE_CODE) && (CS_RELEASE_CODE < 0x2911)) - CardServices(ReportError, dev_info, (void *)func, (void *)ret); - #else - error_info_t err = { func, ret }; -@@ -208,7 +208,7 @@ - #endif - link->conf.IntType = INT_MEMORY_AND_IO; - link->priv = wlandev; --#if CS_RELEASE_CODE > 0x2911 -+#if (defined(CS_RELEASE_CODE) && (CS_RELEASE_CODE < 0x2911)) - link->irq.Instance = wlandev; - #endif - diff --git a/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.2 b/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.2 deleted file mode 100644 index 5d45e8b..0000000 --- a/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 54b11244fa50a85b31f21c64a8f259b7 linux-wlan-ng-0.2.2.tar.bz2 458937 diff --git a/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.2-r1 b/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.2-r1 deleted file mode 100644 index 5d45e8b..0000000 --- a/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 54b11244fa50a85b31f21c64a8f259b7 linux-wlan-ng-0.2.2.tar.bz2 458937 diff --git a/net-wireless/linux-wlan-ng-modules/files/linux-wlan-ng-0.2.2-module_param.patch b/net-wireless/linux-wlan-ng-modules/files/linux-wlan-ng-0.2.2-module_param.patch deleted file mode 100644 index cf614c8..0000000 --- a/net-wireless/linux-wlan-ng-modules/files/linux-wlan-ng-0.2.2-module_param.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urp linux-wlan-ng-0.2.1/src/prism2/driver/prism2_cs.c linux-wlan-ng-0.2.1-module_param/src/prism2/driver/prism2_cs.c ---- linux-wlan-ng-0.2.1/src/prism2/driver/prism2_cs.c 2005-07-20 19:16:55.000000000 +0200 -+++ linux-wlan-ng-0.2.1-module_param/src/prism2/driver/prism2_cs.c 2005-08-24 21:41:34.000000000 +0200 -@@ -21,7 +21,7 @@ static u_int prism2_ignorevcc=0; /* Boo - * is set to and what the CIS - * says. - */ --#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) ) -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)) && (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0)) - #if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,5)) - static int numlist = 4; - module_param_array(irq_list, int, numlist, 0444); diff --git a/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2-r1.ebuild b/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2-r1.ebuild deleted file mode 100644 index a59904d..0000000 --- a/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils linux-mod - -MY_P=${P/-modules/} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Kernel modules for Prism2/2.5/3 based 802.11b wireless LAN products" -HOMEPAGE="http://linux-wlan.org" -SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~x86" - -IUSE="debug pci pcmcia plx usb" - -BUILD_TARGETS="default" -BUILD_PARAMS="WLAN_SRC=${S}/src" - -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)" - - if use pci; then - MODULE_NAMES="${MODULE_NAMES} prism2_pci(net/wireless:${S}/src/prism2/driver)" - fi - - if use plx; then - MODULE_NAMES="${MODULE_NAMES} prism2_plx(net/wireless:${S}/src/prism2/driver)" - fi - - if use pcmcia; then - MODULE_NAMES="${MODULE_NAMES} prism2_cs(net/wireless:${S}/src/prism2/driver)" - fi - - if use usb; then - MODULE_NAMES="${MODULE_NAMES} prism2_usb(net/wireless:${S}/src/prism2/driver)" - fi - - 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_P}-module_param.patch - epatch ${FILESDIR}/${PV}-kernel-2.6.14.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} - - if use pcmcia && [[ -n "${PCMCIA_VERSION}" ]]; then - echo "PCMCIA_SRC=${PCMCIA_SOURCE_DIR}" >> ${config} - fi - - config_by_usevar PRISM2_USB usb - config_by_usevar PRISM2_PCI pci - config_by_usevar PRISM2_PLX plx - config_by_usevar PRISM2_PCMCIA pcmcia - config_by_usevar WLAN_DEBUG debug - - if kernel_is gt 2 4; then - echo "KERN_25=y" >> ${config} - fi - - 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 -} diff --git a/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2.ebuild b/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2.ebuild deleted file mode 100644 index 6643a6f..0000000 --- a/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils linux-mod - -MY_P=${P/-modules/} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="Kernel modules for Prism2/2.5/3 based 802.11b wireless LAN products" -HOMEPAGE="http://linux-wlan.org" -SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~x86" - -IUSE="debug pci pcmcia plx usb" - -BUILD_TARGETS="default" -BUILD_PARAMS="WLAN_SRC=${S}/src" - -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)" - - if use pci; then - MODULE_NAMES="${MODULE_NAMES} prism2_pci(net/wireless:${S}/src/prism2/driver)" - fi - - if use plx; then - MODULE_NAMES="${MODULE_NAMES} prism2_plx(net/wireless:${S}/src/prism2/driver)" - fi - - if use pcmcia; then - MODULE_NAMES="${MODULE_NAMES} prism2_cs(net/wireless:${S}/src/prism2/driver)" - fi - - if use usb; then - MODULE_NAMES="${MODULE_NAMES} prism2_usb(net/wireless:${S}/src/prism2/driver)" - fi - - 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_P}-module_param.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} - - if use pcmcia && [[ -n "${PCMCIA_VERSION}" ]]; then - echo "PCMCIA_SRC=${PCMCIA_SOURCE_DIR}" >> ${config} - fi - - config_by_usevar PRISM2_USB usb - config_by_usevar PRISM2_PCI pci - config_by_usevar PRISM2_PLX plx - config_by_usevar PRISM2_PCMCIA pcmcia - config_by_usevar WLAN_DEBUG debug - - if kernel_is gt 2 4; then - echo "KERN_25=y" >> ${config} - fi - - 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 -} diff --git a/net-wireless/linux-wlan-ng-modules/metadata.xml b/net-wireless/linux-wlan-ng-modules/metadata.xml deleted file mode 100644 index 30dc964..0000000 --- a/net-wireless/linux-wlan-ng-modules/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>mobile</herd> -<maintainer> - <email>betelgeuse@gentoo.org</email> - <name>Petteri Räty</name> -</maintainer> -<longdescription> -Kernel modules for Intersil Prism2/2.5/3 based IEEE 802.11b wireless LAN products. -This package contains the kernel modules for the linux-wlan-ng project. The kernel -modules are provided in a separate package so that they can be more easily re-emerged -when the kernel is updated. -</longdescription> -</pkgmetadata> |