Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c1d77d5d5cd07d9e25f19349511e51ba34038aed

commit c1d77d5d5cd07d9e25f19349511e51ba34038aed
Author: James Buren <r...@frugalware.org>
Date:   Sun Aug 21 14:13:49 2011 -0500

r8169-6.010.00-33-i686
* remove package

diff --git a/source/network-extra/r8169/FrugalBuild 
b/source/network-extra/r8169/FrugalBuild
deleted file mode 100644
index 66fd2ce..0000000
--- a/source/network-extra/r8169/FrugalBuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Compiling Time: 0.01 SBU
-# Maintainer: voroskoi <voros...@frugalware.org>
-
-pkgname=r8169
-pkgver=6.010.00
-pkgrel=33
-Finclude sourceforge kernel-module
-pkgdesc="Realtek driver for RTL8169/8110 cards."
-url="http://www.realtek.com.tw";
-groups=('network-extra')
-archs=('i686' 'x86_64')
-up2date="Flasttar ftp://WebUser:DAx7h9V@202.65.194.211/cn/nic/";
-source=(http://free.asparuhovo.net/linux/r8169-$pkgver.tar.bz2 \
-       kernel-2.6.3{0,1,3,5}.patch)
-sha1sums=('4a96f2abea67bf389235e35aab845439216d12fb' \
-          'fac6a84e1e027942339d5d692a03efe7ddce26d8' \
-          '1e14ec6ce2980f9c83d7b1ab247cd0ca6521e890' \
-          '07ae57dad0525d4bc9fd362ad43806c7b4b6a132' \
-          '5d239187ddbb32b45991b162c7462006f59eccf7')
-
-build() {
-       unset MAKEFLAGS
-       #Fcheckkernel
-       Fbuild_kernelmod_scriptlet
-       Fmkdir ${_F_kernelmod_dir}/kernel/drivers/net
-       Fsed '$(shell uname -r)' "${_F_kernelmod_uname}" src/Makefile
-       Fsed 'KMISC\(.*\)/lib\(.*\)' "KMISC\1${Fdestdir}/lib\2" src/Makefile
-       Fbuild
-       Fmv ${_F_kernelmod_dir}/kernel/drivers/net/${pkgname}.{o,ko}
-}
diff --git a/source/network-extra/r8169/README.Frugalware 
b/source/network-extra/r8169/README.Frugalware
deleted file mode 100644
index 34dde5b..0000000
--- a/source/network-extra/r8169/README.Frugalware
+++ /dev/null
@@ -1,24 +0,0 @@
-=== About the driver
-
-This is the r8169 driver from Realtek. This in _not_ the same r8169
-presented in Linux kernel.
-
-This driver supports: RTL8169S/8110S, RTL8169SB/8110SB, RTL8110SC
-
-=== Using the driver
-
-To use this driver you have to remove the official r8169 if loaded.
-
-----
-# rmmod r8169
-----
-
-You can load this module with
-
-----
-# modprobe realtek-r8169
-----
-
-It might be a good idea to blacklist `r8169` and add `realtek-r8169` to
-`/etc/sysconfig/modules`, so you do not have to play this game after
-every reboot.
diff --git a/source/network-extra/r8169/kernel-2.6.30.patch 
b/source/network-extra/r8169/kernel-2.6.30.patch
deleted file mode 100644
index 9d94d4c..0000000
--- a/source/network-extra/r8169/kernel-2.6.30.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/src/r8169.h.orig 2009-04-13 08:45:19.000000000 +0200
-+++ b/src/r8169.h      2009-05-24 08:00:31.720033998 +0200
-@@ -31,11 +31,13 @@
- #define CHECKSUM_PARTIAL CHECKSUM_HW
- #endif
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
- #ifndef IRQ_HANDLED
- #define irqreturn_t void
- #define IRQ_HANDLED
- #define IRQ_NONE
- #endif
-+#endif
-
- #ifndef HAVE_FREE_NETDEV
- #define free_netdev(x)        kfree(x)
-@@ -248,10 +250,14 @@
-       #define RTL_NETIF_RX_COMPLETE(dev, napi)                
netif_rx_complete(dev, napi)
-       #define RTL_NETIF_RX_SCHEDULE_PREP(dev, napi)           
netif_rx_schedule_prep(dev, napi)
-       #define __RTL_NETIF_RX_SCHEDULE(dev, napi)              
__netif_rx_schedule(dev, napi)
-- #else
-+ #elif LINUX_VERSION_CODE == KERNEL_VERSION(2,6,29)
-       #define RTL_NETIF_RX_COMPLETE(dev, napi)                
netif_rx_complete(napi)
-       #define RTL_NETIF_RX_SCHEDULE_PREP(dev, napi)           
netif_rx_schedule_prep(napi)
-       #define __RTL_NETIF_RX_SCHEDULE(dev, napi)              
__netif_rx_schedule(napi)
-+ #else
-+        #define RTL_NETIF_RX_COMPLETE(dev, napi)                
napi_complete(napi)
-+        #define RTL_NETIF_RX_SCHEDULE_PREP(dev, napi)           
napi_schedule_prep(napi)
-+        #define __RTL_NETIF_RX_SCHEDULE(dev, napi)              
__napi_schedule(napi)
-  #endif
-       #define RTL_NAPI_RETURN_VALUE work_done
-       #define RTL_NAPI_ENABLE(dev, napi)                      
napi_enable(napi)
diff --git a/source/network-extra/r8169/kernel-2.6.31.patch 
b/source/network-extra/r8169/kernel-2.6.31.patch
deleted file mode 100644
index 20276da..0000000
--- a/source/network-extra/r8169/kernel-2.6.31.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff --git a/src/r8169_n.c b/src/r8169_n.c
-index 1f24f50..c0b7d0f 100644
---- a/src/r8169_n.c
-+++ b/src/r8169_n.c
-@@ -2459,6 +2459,21 @@ rtl8169_esd_timer(unsigned long __opaque)
-       mod_timer(timer, jiffies + timeout);
- }
-
-+static const struct net_device_ops rtl8169_netdev_ops = {
-+      .ndo_do_ioctl           = rtl8169_ioctl,
-+      .ndo_open               = rtl8169_open,
-+      .ndo_start_xmit         = rtl8169_start_xmit,
-+      .ndo_get_stats          = rtl8169_get_stats,
-+      .ndo_stop               = rtl8169_close,
-+      .ndo_tx_timeout         = rtl8169_tx_timeout,
-+      .ndo_set_multicast_list = rtl8169_set_rx_mode,
-+      .ndo_change_mtu         = rtl8169_change_mtu,
-+      .ndo_set_mac_address    = rtl8169_set_mac_address,
-+#ifdef CONFIG_NET_POLL_CONTROLLER
-+      .ndo_poll_controller = rtl8169_netpoll,
-+#endif
-+};
-+
- static int __devinit
- rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
- {
-@@ -2626,7 +2641,7 @@ rtl8169_init_one(struct pci_dev *pdev, const struct 
pci_device_id *ent)
-       RTL_W8(Cfg9346, Cfg9346_Unlock);
-       RTL_W8(Cfg9346, Cfg9346_Lock);
-
--      dev->do_ioctl = rtl8169_ioctl;
-+      dev->netdev_ops = &rtl8169_netdev_ops;
-
-       /* Get MAC address.  FIXME: read EEPROM */
-       for (i = 0; i < MAC_ADDR_LEN; i++)
-@@ -2636,18 +2651,10 @@ rtl8169_init_one(struct pci_dev *pdev, const struct 
pci_device_id *ent)
- #endif
-       memcpy(dev->dev_addr, dev->dev_addr, dev->addr_len);
-
--      dev->open = rtl8169_open;
--      dev->hard_start_xmit = rtl8169_start_xmit;
--      dev->get_stats = rtl8169_get_stats;
-       SET_ETHTOOL_OPS(dev, &rtl8169_ethtool_ops);
--      dev->stop = rtl8169_close;
--      dev->tx_timeout = rtl8169_tx_timeout;
--      dev->set_multicast_list = rtl8169_set_rx_mode;
-       dev->watchdog_timeo = RTL8169_TX_TIMEOUT;
-       dev->irq = pdev->irq;
-       dev->base_addr = (unsigned long) ioaddr;
--      dev->change_mtu = rtl8169_change_mtu;
--      dev->set_mac_address = rtl8169_set_mac_address;
-
- #ifdef CONFIG_R8169_NAPI
-       RTL_NAPI_CONFIG(dev, tp, rtl8169_poll, R8169_NAPI_WEIGHT);
-@@ -2661,10 +2668,6 @@ rtl8169_init_one(struct pci_dev *pdev, const struct 
pci_device_id *ent)
- #endif //LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
- #endif //CONFIG_R8169_VLAN
-
--#ifdef CONFIG_NET_POLL_CONTROLLER
--      dev->poll_controller = rtl8169_netpoll;
--#endif
--
-       dev->features |= NETIF_F_IP_CSUM;
-       tp->cp_cmd |= RxChkSum;
-       tp->cp_cmd |= RTL_R16(CPlusCmd);
diff --git a/source/network-extra/r8169/kernel-2.6.33.patch 
b/source/network-extra/r8169/kernel-2.6.33.patch
deleted file mode 100644
index 6acac6f..0000000
--- a/source/network-extra/r8169/kernel-2.6.33.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/src/r8169_n.c b/src/r8169_n.c
-index c0b7d0f..83e4755 100644
---- a/src/r8169_n.c
-+++ b/src/r8169_n.c
-@@ -1035,9 +1035,14 @@ struct rtl8169_counters {
-       u16     tx_underun;
- };
-
--static int rtl8169_get_stats_count(struct net_device *dev)
-+static int rtl8169_get_sset_count(struct net_device *dev, int stringset)
- {
--      return ARRAY_SIZE(rtl8169_gstrings);
-+      switch (stringset) {
-+      case ETH_SS_STATS:
-+              return ARRAY_SIZE(rtl8169_gstrings);
-+      default:
-+              return -EINVAL;
-+      }
- }
-
- static void rtl8169_get_ethtool_stats(struct net_device *dev,
-@@ -1148,7 +1153,7 @@ static struct ethtool_ops rtl8169_ethtool_ops = {
-       .get_wol                = rtl8169_get_wol,
-       .set_wol                = rtl8169_set_wol,
-       .get_strings            = rtl8169_get_strings,
--      .get_stats_count        = rtl8169_get_stats_count,
-+      .get_sset_count = rtl8169_get_sset_count,
-       .get_ethtool_stats      = rtl8169_get_ethtool_stats,
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
- #ifdef ETHTOOL_GPERMADDR
diff --git a/source/network-extra/r8169/kernel-2.6.35.patch 
b/source/network-extra/r8169/kernel-2.6.35.patch
deleted file mode 100644
index 15ea3ec..0000000
--- a/source/network-extra/r8169/kernel-2.6.35.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/src/r8169_n.c b/src/r8169_n.c
-index 83e4755..110d644 100644
---- a/src/r8169_n.c
-+++ b/src/r8169_n.c
-@@ -3867,22 +3867,23 @@ rtl8169_set_rx_mode(struct net_device *dev)
-                   AcceptBroadcast | AcceptMulticast | AcceptMyPhys |
-                   AcceptAllPhys;
-               mc_filter[1] = mc_filter[0] = 0xffffffff;
--      } else if ((dev->mc_count > multicast_filter_limit)
-+      } else if ((netdev_mc_count(dev) > multicast_filter_limit)
-                  || (dev->flags & IFF_ALLMULTI)) {
-               /* Too many to filter perfectly -- accept all multicasts. */
-
-               rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys;
-               mc_filter[1] = mc_filter[0] = 0xffffffff;
-       } else {
--              struct dev_mc_list *mclist;
-+              struct netdev_hw_addr *ha;
-
-               rx_mode = AcceptBroadcast | AcceptMyPhys;
-               mc_filter[1] = mc_filter[0] = 0;
--              for (i = 0, mclist = dev->mc_list; mclist && i < dev->mc_count;
--                   i++, mclist = mclist->next) {
--                      int bit_nr = ether_crc(ETH_ALEN, mclist->dmi_addr) >> 
26;
-+              i = 0;
-+              netdev_for_each_mc_addr(ha, dev) {
-+                      int bit_nr = ether_crc(ETH_ALEN, ha->addr) >> 26;
-                       mc_filter[bit_nr >> 5] |= 1 << (bit_nr & 31);
-                       rx_mode |= AcceptMulticast;
-+                      i++;
-               }
-       }
-
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to