summaryrefslogtreecommitdiff
path: root/package/rt61
diff options
context:
space:
mode:
Diffstat (limited to 'package/rt61')
-rw-r--r--package/rt61/Makefile53
-rw-r--r--package/rt61/files/rt61.modules1
-rw-r--r--package/rt61/patches/001-2.6.22_compat.patch12
-rw-r--r--package/rt61/patches/002-big_endian_fixes.patch61
4 files changed, 0 insertions, 127 deletions
diff --git a/package/rt61/Makefile b/package/rt61/Makefile
deleted file mode 100644
index 7544e29a7f..0000000000
--- a/package/rt61/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# $Id$
-
-include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/kernel.mk
-
-PKG_NAME:=rt61
-PKG_VERSION:=cvs-2007060307
-PKG_RELEASE:=2
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
-PKG_MD5SUM:=8d71fee47bdaac4c7d79180a4ea33649
-
-include $(INCLUDE_DIR)/package.mk
-
-define KernelPackage/rt61
- SUBMENU:=Wireless Drivers
- TITLE:=Driver for ralink MiMo pci chipsets
- DEPENDS:=@LINUX_2_6_23 @PCI_SUPPORT +wireless-tools
- URL:=http://rt2x00.serialmonkey.com/
- FILES:= \
- $(PKG_BUILD_DIR)/Module/rt61.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,50,rt61)
-endef
-
-define KernelPackage/rt61/description
- This package contains a driver for ralink rt2x61 pci chipsets.
-endef
-
-define KernelPackage/rt61/install
- mkdir -p $(1)/lib/firmware
- $(CP) -L $(PKG_BUILD_DIR)/Module/rt2?61*.bin $(1)/lib/firmware
-endef
-
-LINUX_PATCHLEVEL:=$(shell echo "$(LINUX_VERSION)" | cut -d. -f2)
-
-define Build/Compile
- $(MAKE) -C $(LINUX_DIR) \
- ARCH="$(LINUX_KARCH)" \
- CROSS_COMPILE="$(TARGET_CROSS)" \
- PATCHLEVEL="$(LINUX_PATCHLEVEL)" \
- KERNDIR="$(LINUX_DIR)" \
- SUBDIRS="$(PKG_BUILD_DIR)/Module" \
- modules
-endef
-
-$(eval $(call KernelPackage,rt61))
diff --git a/package/rt61/files/rt61.modules b/package/rt61/files/rt61.modules
deleted file mode 100644
index f17c88b2b4..0000000000
--- a/package/rt61/files/rt61.modules
+++ /dev/null
@@ -1 +0,0 @@
-rt61
diff --git a/package/rt61/patches/001-2.6.22_compat.patch b/package/rt61/patches/001-2.6.22_compat.patch
deleted file mode 100644
index 16cb645e58..0000000000
--- a/package/rt61/patches/001-2.6.22_compat.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur rt61-cvs-2007060307/Module/rtmp_data.c rt61-cvs-2007060307-owrt/Module/rtmp_data.c
---- rt61-cvs-2007060307/Module/rtmp_data.c 2007-05-12 19:49:42.000000000 +0200
-+++ rt61-cvs-2007060307-owrt/Module/rtmp_data.c 2007-06-03 14:41:28.000000000 +0200
-@@ -669,7 +669,7 @@
- }
-
- skb->dev = pAd->net_dev;
-- skb->mac.raw = skb->data;
-+// skb->mac.raw = skb->data;
- skb->pkt_type = PACKET_OTHERHOST;
- skb->protocol = htons(ETH_P_802_2);
- skb->ip_summed = CHECKSUM_NONE;
diff --git a/package/rt61/patches/002-big_endian_fixes.patch b/package/rt61/patches/002-big_endian_fixes.patch
deleted file mode 100644
index e5cbe7eb9a..0000000000
--- a/package/rt61/patches/002-big_endian_fixes.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-diff -ruN rt61-cvs-2007060307-old/Module/rt_config.h rt61-cvs-2007060307-new/Module/rt_config.h
---- rt61-cvs-2007060307-old/Module/rt_config.h 2007-06-03 14:35:29.000000000 +0200
-+++ rt61-cvs-2007060307-new/Module/rt_config.h 2007-08-25 20:45:36.000000000 +0200
-@@ -162,7 +162,6 @@
- #endif
-
- #ifdef __BIG_ENDIAN
--#warning Compiling for big endian machine.
- #define BIG_ENDIAN TRUE
- #endif /* __BIG_ENDIAN */
-
-diff -ruN rt61-cvs-2007060307-old/Module/rtmp.h rt61-cvs-2007060307-new/Module/rtmp.h
---- rt61-cvs-2007060307-old/Module/rtmp.h 2007-05-19 19:19:17.000000000 +0200
-+++ rt61-cvs-2007060307-new/Module/rtmp.h 2007-08-25 20:44:27.000000000 +0200
-@@ -1617,14 +1617,8 @@
- VOID RTMPFreeDMAMemory(IN PRTMP_ADAPTER pAdapter);
- // Enable & Disable NIC interrupt via writing interrupt mask register
- // Since it use ADAPTER structure, it have to be put after structure definition.
--#ifdef BIG_ENDIAN
--inline
--#endif
-- VOID NICDisableInterrupt(IN PRTMP_ADAPTER pAdapter);
--#ifdef BIG_ENDIAN
--inline
--#endif
-- VOID NICEnableInterrupt(IN PRTMP_ADAPTER pAdapter);
-+VOID NICDisableInterrupt(IN PRTMP_ADAPTER pAdapter);
-+VOID NICEnableInterrupt(IN PRTMP_ADAPTER pAdapter);
- VOID NICInitTxRxRingAndBacklogQueue(IN PRTMP_ADAPTER pAdapter);
- VOID NICReadEEPROMParameters(IN PRTMP_ADAPTER pAd);
- VOID NICInitAsicFromEEPROM(IN PRTMP_ADAPTER pAd);
-diff -ruN rt61-cvs-2007060307-old/Module/rtmp_init.c rt61-cvs-2007060307-new/Module/rtmp_init.c
---- rt61-cvs-2007060307-old/Module/rtmp_init.c 2007-05-23 14:14:23.000000000 +0200
-+++ rt61-cvs-2007060307-new/Module/rtmp_init.c 2007-08-25 20:43:51.000000000 +0200
-@@ -549,24 +549,14 @@
-
- // By removing 'inline' directive from the function definitions.
- // Then Driverloader is compiled and runs smooth after kernel 2.6.9
--#ifdef BIG_ENDIAN
--inline VOID
--#else
--VOID
--#endif
--NICDisableInterrupt(IN PRTMP_ADAPTER pAdapter)
-+VOID NICDisableInterrupt(IN PRTMP_ADAPTER pAdapter)
- {
- RTMP_IO_WRITE32(pAdapter, INT_MASK_CSR, 0xffffff7f); // 0xffffff7f
- RTMP_IO_WRITE32(pAdapter, MCU_INT_MASK_CSR, 0xffffffff);
- RTMP_CLEAR_FLAG(pAdapter, fRTMP_ADAPTER_INTERRUPT_ACTIVE);
- }
-
--#ifdef BIG_ENDIAN
--inline VOID
--#else
--VOID
--#endif
--NICEnableInterrupt(IN PRTMP_ADAPTER pAdapter)
-+VOID NICEnableInterrupt(IN PRTMP_ADAPTER pAdapter)
- {
- //
- // Flag "fOP_STATUS_DOZE" On, means ASIC put to sleep, else means ASIC WakeUp