Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kernel2624.git;a=commitdiff;h=3cc4185c9d4d10d0a0f53d9ee5dcc1b94c098bec

commit 3cc4185c9d4d10d0a0f53d9ee5dcc1b94c098bec
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Jan 28 00:15:05 2008 +0100

rt2500-1.1.0_b4-34-i686
removed, it's in the kernel

diff --git a/source/network-extra/rt2500/FrugalBuild 
b/source/network-extra/rt2500/FrugalBuild
deleted file mode 100644
index 05c4ee6..0000000
--- a/source/network-extra/rt2500/FrugalBuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Compiling Time: 0.01 SBU
-# Maintainer: VMiklos <[EMAIL PROTECTED]>
-
-pkgname=rt2500
-pkgver=1.1.0_b4
-pkgrel=34
-pkgdesc="Driver for wireless cards that are based on the Ralink rt2400 and 
rt2500 chipsets."
-_F_sourceforge_dirname="rt2400"
-Finclude kernel-module sourceforge
-url="http://rt2x00.serialmonkey.com/wiki/index.php";
-groups=('network-extra')
-archs=('i686' 'x86_64')
-up2date="lynx -dump $url/Downloads|grep 2500.*download$|sed 
's/.*2500-\(.*\)\.t.*/\1/;s/-/_/'"
-source=($source rt2500-1.1.0_b4-linux26{20,22}.patch)
-sha1sums=('dd9a747c819a6507ea3ef9e803d4fae1074d84df' \
-          '32d014a546b6b4cda9b81f95e184a0e8f05c5698' \
-          '095285562700f45e0c4cb000e0f7ddc37c1ea4d0')
-
-build()
-{
-       # no Fcheckkernel, crosscompilation verified
-       Fcd $pkgname-${pkgver/_/-}/Module
-       Fpatchall
-       find . -type f -exec sed -i '/#include <linux\/config.h>/d' {} \;
-       # Fix module parameter registration
-       Fsed 'MODULE_PARM(debug, "i")' 'module_param(debug, int, 0)' rtmp_main.c
-       Fsed 'MODULE_PARM(ifname, "s")' 'module_param(ifname, charp, 0)' 
rtmp_main.c
-       make KERNDIR=$_F_kernelmod_dir/build
-       Ffilerel $_F_kernelmod_dir/kernel/drivers/net/wireless/rt2500.ko
-       Fbuild_kernelmod_scriptlet
-}
diff --git a/source/network-extra/rt2500/rt2500-1.1.0_b4-linux2620.patch 
b/source/network-extra/rt2500/rt2500-1.1.0_b4-linux2620.patch
deleted file mode 100644
index c3c48ae..0000000
--- a/source/network-extra/rt2500/rt2500-1.1.0_b4-linux2620.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-http://rt2400.cvs.sourceforge.net/rt2400/source/rt2500/Module/rtmp_init.c?r1=1.30&r2=1.31&view=patch
---- Module/rtmp_init.c 2006/06/16 07:07:25     1.30
-+++ Module/rtmp_init.c 2007/01/20 21:12:59     1.31
-@@ -916,7 +916,13 @@
-       DBGPRINT(RT_DEBUG_TRACE, "<-- NICInitAsicFromEEPROM\n");
- }
-
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))
-+extern VOID MlmeWork(struct work_struct *work);
-+#else
- extern VOID MlmeWork(void *vpAd);
-+#endif
-+
-+extern VOID MlmeWork(struct work_struct *work);
-
- void NICInitializeAdapter(IN    PRTMP_ADAPTER   pAdapter)
- {
-@@ -974,7 +980,9 @@
-     // Initialze ASIC for TX & Rx operation
-     NICInitializeAsic(pAdapter);
-
--#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))
-+    INIT_WORK(&pAdapter->mlme_work, MlmeWork);
-+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
-     INIT_WORK(&pAdapter->mlme_work, MlmeWork, (void*)pAdapter);
- #endif
-     DBGPRINT(RT_DEBUG_TRACE, "<-- NICInitializeAdapter\n");
diff --git a/source/network-extra/rt2500/rt2500-1.1.0_b4-linux2622.patch 
b/source/network-extra/rt2500/rt2500-1.1.0_b4-linux2622.patch
deleted file mode 100644
index 863d050..0000000
--- a/source/network-extra/rt2500/rt2500-1.1.0_b4-linux2622.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -Nurd Module.orig/rtmp_data.c Module/rtmp_data.c
---- Module.orig/rtmp_data.c    2006-06-17 22:12:58.000000000 +0200
-+++ Module/rtmp_data.c 2007-07-15 21:26:25.000000000 +0200
-@@ -1196,7 +1196,7 @@
-
-                       skb->dev = pAdapter->net_dev;
-                       memcpy(skb_put(skb, pRxD->DataByteCnt), pData, 
pRxD->DataByteCnt);
--                      skb->mac.raw = skb->data;
-+                                      skb_reset_mac_header(skb);
-                       skb->pkt_type = PACKET_OTHERHOST;
-                       skb->protocol = htons(ETH_P_802_2);
-                       skb->ip_summed = CHECKSUM_NONE;
-diff -Nurd Module.orig/rtmp.h Module/rtmp.h
---- Module.orig/rtmp.h 2007-07-15 20:37:46.000000000 +0200
-+++ Module/rtmp.h      2007-07-15 21:26:25.000000000 +0200
-@@ -62,6 +62,13 @@
- #endif /*(LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)) */
- #endif /* pci_name */
-
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22))
-+#define pci_module_init       pci_register_driver
-+#endif
-+
-+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22))
-+#define skb_reset_mac_header(skb) (skb->mac.raw = skb->data)
-+#endif
-
- // Krellan: Limit range of user TxPower settings from -31 to +0 dBm.
- // We could accept -31 to +31 dBm, relative to 0 dBm which is defined
-diff -Nurd Module.orig/rtmp_main.c Module/rtmp_main.c
---- Module.orig/rtmp_main.c    2007-07-15 20:37:46.000000000 +0200
-+++ Module/rtmp_main.c 2007-07-15 21:26:52.000000000 +0200
-@@ -340,7 +340,11 @@
-         NICDisableInterrupt(pAd);
-     }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
-+    status = request_irq(pAd->pPci_Dev->irq, &RTMPIsr, IRQF_SHARED, 
net_dev->name, net_dev);
-+#else
-     status = request_irq(pAd->pPci_Dev->irq, &RTMPIsr, SA_SHIRQ, 
net_dev->name, net_dev);
-+#endif
-     if (status)
-     {
-         goto out_module_put;
-@@ -950,7 +954,8 @@
-     PRTMP_ADAPTER pAdapter = (PRTMP_ADAPTER) dev->priv;
-     int status;
-
--    pci_enable_device(pdev);
-+    if (pci_enable_device(pdev))
-+       return -EIO;
-
-     printk(KERN_NOTICE "%s: got resume request\n", dev->name);
-
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to