]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- updated for 2.6.27.
authorPaweł Sikora <pluto@pld-linux.org>
Fri, 17 Oct 2008 09:31:14 +0000 (09:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel-PF_RING.patch -> 1.1.2.6
    kernel-forcedeth-WON.patch -> 1.2.6.2
    kernel-small_fixes.patch -> 1.1.2.7
    kernel-warnings.patch -> 1.1.2.1.2.4
    linux-2.6-forcedeth-WON.patch -> 1.2.6.2
    linux-2.6-warnings.patch -> 1.1.2.1.2.4
    linux-PF_RING.patch -> 1.1.2.6

kernel-PF_RING.patch
kernel-forcedeth-WON.patch
kernel-small_fixes.patch
kernel-warnings.patch
linux-2.6-forcedeth-WON.patch
linux-2.6-warnings.patch
linux-PF_RING.patch

index 56902d6ecc319253c07159a2ce5ad1d7345402c5..8bb8b5d771f7c4567f6681820c4b4943e82fe654 100644 (file)
@@ -256,20 +256,20 @@ diff --unified --recursive --new-file linux-2.6.21.4/net/Kconfig linux-2.6.21.4-
 diff --unified --recursive --new-file linux-2.6.21.4/net/Makefile linux-2.6.21.4-1-686-smp-ring3/net/Makefile
 --- linux-2.6.21.4/net/Makefile        2007-06-07 21:27:31.000000000 +0000
 +++ linux-2.6.21.4-1-686-smp-ring3/net/Makefile        2007-06-10 16:43:04.394423425 +0000
-@@ -42,6 +42,7 @@
- obj-$(CONFIG_DECNET)          += decnet/
- obj-$(CONFIG_ECONET)          += econet/
- obj-$(CONFIG_VLAN_8021Q)      += 8021q/
+@@ -45,6 +45,7 @@
+ ifneq ($(CONFIG_VLAN_8021Q),)
+ obj-y                         += 8021q/
+ endif
 +obj-$(CONFIG_RING)            += ring/
  obj-$(CONFIG_IP_DCCP)         += dccp/
  obj-$(CONFIG_IP_SCTP)         += sctp/
- obj-$(CONFIG_IEEE80211)               += ieee80211/
+ obj-y                         += wireless/
 diff --unified --recursive --new-file linux-2.6.21.4/net/core/dev.c linux-2.6.21.4-1-686-smp-ring3/net/core/dev.c
 --- linux-2.6.21.4/net/core/dev.c      2007-06-07 21:27:31.000000000 +0000
 +++ linux-2.6.21.4-1-686-smp-ring3/net/core/dev.c      2007-06-10 16:43:04.382422906 +0000
-@@ -117,6 +117,56 @@
- #include <linux/err.h>
- #include <linux/ctype.h>
+@@ -133,6 +133,56 @@
+ #include "net-sysfs.h"
  
 +#if defined (CONFIG_RING) || defined(CONFIG_RING_MODULE)
 +
@@ -324,18 +324,17 @@ diff --unified --recursive --new-file linux-2.6.21.4/net/core/dev.c linux-2.6.21
  /*
   *    The list of packet types we will receive (as opposed to discard)
   *    and the routines to invoke.
-@@ -1474,6 +1524,10 @@
+@@ -1809,6 +1859,9 @@
        skb->tc_verd = SET_TC_AT(skb->tc_verd,AT_EGRESS);
  #endif
        if (q->enqueue) {
 +#if defined (CONFIG_RING) || defined(CONFIG_RING_MODULE)
 +      if(ring_handler) ring_handler(skb, 0, 1);
 +#endif /* CONFIG_RING */
-+
-               /* Grab device queue */
-               spin_lock(&dev->queue_lock);
-               q = dev->qdisc;
-@@ -1574,6 +1628,13 @@
+               spinlock_t *root_lock = qdisc_lock(q);
+               spin_lock(root_lock);
+@@ -1908,6 +1961,13 @@
        unsigned long flags;
  
        /* if netpoll wants it, pretend we never saw it */
@@ -349,8 +348,8 @@ diff --unified --recursive --new-file linux-2.6.21.4/net/core/dev.c linux-2.6.21
        if (netpoll_rx(skb))
                return NET_RX_DROP;
  
-@@ -1764,6 +1825,13 @@
-       struct net_device *orig_dev;
+@@ -2193,6 +2253,13 @@
+       struct net_device *null_or_orig;
        int ret = NET_RX_DROP;
        __be16 type;
 +#if defined (CONFIG_RING) || defined(CONFIG_RING_MODULE)
@@ -362,7 +361,7 @@ diff --unified --recursive --new-file linux-2.6.21.4/net/core/dev.c linux-2.6.21
 +
  
        /* if we've gotten here through NAPI, check netpoll */
-       if (skb->dev->poll && netpoll_rx(skb))
+       if (netpoll_receive_skb(skb))
 diff --unified --recursive --new-file linux-2.6.21.4/net/ring/Kconfig linux-2.6.21.4-1-686-smp-ring3/net/ring/Kconfig
 --- linux-2.6.21.4/net/ring/Kconfig    1970-01-01 00:00:00.000000000 +0000
 +++ linux-2.6.21.4-1-686-smp-ring3/net/ring/Kconfig    2007-06-10 16:43:04.406423944 +0000
index fd51d55492a43c5911eafc50d4bd23d518809441..c5bb8c1b44cb3d7d2227ea83713ae0abc82d6d43 100644 (file)
@@ -4,12 +4,12 @@
   * Hardware access:
   */
  
--#define DEV_NEED_TIMERIRQ          0x00001  /* set the timer irq flag in the irq mask */
-+#define DEV_NEED_TIMERIRQ_ORIG     0x00001  /* set the timer irq flag in the irq mask */
-+#define DEV_NEED_TIMERIRQ          0x00000  /* work-around for Wake-On-Lan functionality */
- #define DEV_NEED_LINKTIMER         0x00002  /* poll link settings. Relies on the timer irq */
- #define DEV_HAS_LARGEDESC          0x00004  /* device supports jumbo frames and needs packet format 2 */
- #define DEV_HAS_HIGH_DMA           0x00008  /* device supports 64bit dma */
+-#define DEV_NEED_TIMERIRQ          0x000001  /* set the timer irq flag in the irq mask */
++#define DEV_NEED_TIMERIRQ_ORIG     0x000001  /* set the timer irq flag in the irq mask */
++#define DEV_NEED_TIMERIRQ          0x000000  /* work-around for Wake-On-Lan functionality */
+ #define DEV_NEED_LINKTIMER         0x000002  /* poll link settings. Relies on the timer irq */
+ #define DEV_HAS_LARGEDESC          0x000004  /* device supports jumbo frames and needs packet format 2 */
+ #define DEV_HAS_HIGH_DMA           0x000008  /* device supports 64bit dma */
 @@ -4342,7 +4343,7 @@
                        np->msi_flags |= 0x0001;
        }
index f3dc2369b84b07e94ae3407f93de844d8b100193..e69b1314cc1eea0f2090da32c3a9ed782b78d9cb 100644 (file)
@@ -14,8 +14,8 @@ diff -Nur linux-2.6.15.6/drivers/input/joystick/iforce/iforce-serio.c linux-2.6.
        { 0 }
  };
  
---- linux-2.6.17/include/asm-ppc/io.h~ 2006-06-18 01:49:35.000000000 +0000
-+++ linux-2.6.17/include/asm-ppc/io.h  2006-06-22 02:44:19.000000000 +0000
+--- linux-2.6.27/arch/powerpc/include/asm/io.h~        2006-06-18 01:49:35.000000000 +0000
++++ linux-2.6.27/arch/powerpc/include/asm/io.h 2006-06-22 02:44:19.000000000 +0000
 @@ -445,6 +445,10 @@
  #define page_to_phys(page)    (page_to_pfn(page) << PAGE_SHIFT)
  #define page_to_bus(page)     (page_to_phys(page) + PCI_DRAM_OFFSET)
@@ -101,8 +101,8 @@ diff -Nur linux-2.6.15.6/drivers/input/joystick/iforce/iforce-serio.c linux-2.6.
  
  #include <asm/watchdog.h>
  
---- linux/include/asm-powerpc/suspend.h        2007-07-09 01:32:17.000000000 +0200
-+++ linux/include/asm-powerpc/suspend.h        2007-08-28 23:26:16.629658848 +0200
+--- linux-2.6.27/arch/powerpc/include/asm/suspend.h    2007-07-09 01:32:17.000000000 +0200
++++ linux-2.6.27/arch/powerpc/include/asm/suspend.h    2007-08-28 23:26:16.629658848 +0200
 @@ -6,4 +6,7 @@
  void save_processor_state(void);
  void restore_processor_state(void);
index d3d18eca6d0126897104544328e0b4c6b52df0d4..7a2da38fb5f48b90febbd40a182a18058149beed 100644 (file)
@@ -1,5 +1,5 @@
---- linux-2.6.20/include/asm-sparc64/spinlock.h~       2007-02-04 19:44:54.000000000 +0100
-+++ linux-2.6.20/include/asm-sparc64/spinlock.h        2007-04-10 01:05:35.426190250 +0200
+--- linux-2.6.27/arch/sparc/include/asm/spinlock_64.h~ 2007-02-04 19:44:54.000000000 +0100
++++ linux-2.6.27/arch/sparc/include/asm/spinlock_64.h  2007-04-10 01:05:35.426190250 +0200
 @@ -105,7 +105,7 @@
  
  /* Multi-reader locks, these are much saner than the 32-bit Sparc ones... */
  {
        return call_prom("getproplen", 2, 1, node, ADDR(pname));
  }
---- linux-2.6.20/include/asm-powerpc/spinlock.h~       2007-02-04 19:44:54.000000000 +0100
-+++ linux-2.6.20/include/asm-powerpc/spinlock.h        2007-04-10 02:04:45.976085750 +0200
-@@ -72,7 +72,7 @@
-       return tmp;
- }
--static int __inline__ __raw_spin_trylock(raw_spinlock_t *lock)
-+static __inline__ int __raw_spin_trylock(raw_spinlock_t *lock)
- {
-       CLEAR_IO_SYNC;
-       return __spin_trylock(lock) == 0;
-@@ -103,7 +103,7 @@
- #define SHARED_PROCESSOR      0
- #endif
--static void __inline__ __raw_spin_lock(raw_spinlock_t *lock)
-+static __inline__ void __raw_spin_lock(raw_spinlock_t *lock)
- {
-       CLEAR_IO_SYNC;
-       while (1) {
-@@ -118,7 +118,7 @@
-       }
- }
--static void __inline__ __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags)
-+static __inline__ void __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags)
- {
-       unsigned long flags_dis;
-@@ -179,7 +179,7 @@
-  * This returns the old value in the lock + 1,
-  * so we got a read lock if the return value is > 0.
-  */
--static long __inline__ __read_trylock(raw_rwlock_t *rw)
-+static __inline__ long __read_trylock(raw_rwlock_t *rw)
- {
-       long tmp;
-@@ -223,7 +223,7 @@
-       return tmp;
- }
--static void __inline__ __raw_read_lock(raw_rwlock_t *rw)
-+static __inline__ void __raw_read_lock(raw_rwlock_t *rw)
- {
-       while (1) {
-               if (likely(__read_trylock(rw) > 0))
-@@ -237,7 +237,7 @@
-       }
- }
--static void __inline__ __raw_write_lock(raw_rwlock_t *rw)
-+static __inline__ void __raw_write_lock(raw_rwlock_t *rw)
- {
-       while (1) {
-               if (likely(__write_trylock(rw) == 0))
-@@ -251,17 +251,17 @@
-       }
- }
--static int __inline__ __raw_read_trylock(raw_rwlock_t *rw)
-+static __inline__ int __raw_read_trylock(raw_rwlock_t *rw)
- {
-       return __read_trylock(rw) > 0;
- }
--static int __inline__ __raw_write_trylock(raw_rwlock_t *rw)
-+static __inline__ int __raw_write_trylock(raw_rwlock_t *rw)
- {
-       return __write_trylock(rw) == 0;
- }
--static void __inline__ __raw_read_unlock(raw_rwlock_t *rw)
-+static __inline__ void __raw_read_unlock(raw_rwlock_t *rw)
- {
-       long tmp;
 --- linux-2.6.20/include/linux/cpuset.h~       2007-02-04 19:44:54.000000000 +0100
 +++ linux-2.6.20/include/linux/cpuset.h        2007-04-10 02:06:13.121532000 +0200
 @@ -33,13 +33,13 @@
index fd51d55492a43c5911eafc50d4bd23d518809441..c5bb8c1b44cb3d7d2227ea83713ae0abc82d6d43 100644 (file)
@@ -4,12 +4,12 @@
   * Hardware access:
   */
  
--#define DEV_NEED_TIMERIRQ          0x00001  /* set the timer irq flag in the irq mask */
-+#define DEV_NEED_TIMERIRQ_ORIG     0x00001  /* set the timer irq flag in the irq mask */
-+#define DEV_NEED_TIMERIRQ          0x00000  /* work-around for Wake-On-Lan functionality */
- #define DEV_NEED_LINKTIMER         0x00002  /* poll link settings. Relies on the timer irq */
- #define DEV_HAS_LARGEDESC          0x00004  /* device supports jumbo frames and needs packet format 2 */
- #define DEV_HAS_HIGH_DMA           0x00008  /* device supports 64bit dma */
+-#define DEV_NEED_TIMERIRQ          0x000001  /* set the timer irq flag in the irq mask */
++#define DEV_NEED_TIMERIRQ_ORIG     0x000001  /* set the timer irq flag in the irq mask */
++#define DEV_NEED_TIMERIRQ          0x000000  /* work-around for Wake-On-Lan functionality */
+ #define DEV_NEED_LINKTIMER         0x000002  /* poll link settings. Relies on the timer irq */
+ #define DEV_HAS_LARGEDESC          0x000004  /* device supports jumbo frames and needs packet format 2 */
+ #define DEV_HAS_HIGH_DMA           0x000008  /* device supports 64bit dma */
 @@ -4342,7 +4343,7 @@
                        np->msi_flags |= 0x0001;
        }
index d3d18eca6d0126897104544328e0b4c6b52df0d4..7a2da38fb5f48b90febbd40a182a18058149beed 100644 (file)
@@ -1,5 +1,5 @@
---- linux-2.6.20/include/asm-sparc64/spinlock.h~       2007-02-04 19:44:54.000000000 +0100
-+++ linux-2.6.20/include/asm-sparc64/spinlock.h        2007-04-10 01:05:35.426190250 +0200
+--- linux-2.6.27/arch/sparc/include/asm/spinlock_64.h~ 2007-02-04 19:44:54.000000000 +0100
++++ linux-2.6.27/arch/sparc/include/asm/spinlock_64.h  2007-04-10 01:05:35.426190250 +0200
 @@ -105,7 +105,7 @@
  
  /* Multi-reader locks, these are much saner than the 32-bit Sparc ones... */
  {
        return call_prom("getproplen", 2, 1, node, ADDR(pname));
  }
---- linux-2.6.20/include/asm-powerpc/spinlock.h~       2007-02-04 19:44:54.000000000 +0100
-+++ linux-2.6.20/include/asm-powerpc/spinlock.h        2007-04-10 02:04:45.976085750 +0200
-@@ -72,7 +72,7 @@
-       return tmp;
- }
--static int __inline__ __raw_spin_trylock(raw_spinlock_t *lock)
-+static __inline__ int __raw_spin_trylock(raw_spinlock_t *lock)
- {
-       CLEAR_IO_SYNC;
-       return __spin_trylock(lock) == 0;
-@@ -103,7 +103,7 @@
- #define SHARED_PROCESSOR      0
- #endif
--static void __inline__ __raw_spin_lock(raw_spinlock_t *lock)
-+static __inline__ void __raw_spin_lock(raw_spinlock_t *lock)
- {
-       CLEAR_IO_SYNC;
-       while (1) {
-@@ -118,7 +118,7 @@
-       }
- }
--static void __inline__ __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags)
-+static __inline__ void __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags)
- {
-       unsigned long flags_dis;
-@@ -179,7 +179,7 @@
-  * This returns the old value in the lock + 1,
-  * so we got a read lock if the return value is > 0.
-  */
--static long __inline__ __read_trylock(raw_rwlock_t *rw)
-+static __inline__ long __read_trylock(raw_rwlock_t *rw)
- {
-       long tmp;
-@@ -223,7 +223,7 @@
-       return tmp;
- }
--static void __inline__ __raw_read_lock(raw_rwlock_t *rw)
-+static __inline__ void __raw_read_lock(raw_rwlock_t *rw)
- {
-       while (1) {
-               if (likely(__read_trylock(rw) > 0))
-@@ -237,7 +237,7 @@
-       }
- }
--static void __inline__ __raw_write_lock(raw_rwlock_t *rw)
-+static __inline__ void __raw_write_lock(raw_rwlock_t *rw)
- {
-       while (1) {
-               if (likely(__write_trylock(rw) == 0))
-@@ -251,17 +251,17 @@
-       }
- }
--static int __inline__ __raw_read_trylock(raw_rwlock_t *rw)
-+static __inline__ int __raw_read_trylock(raw_rwlock_t *rw)
- {
-       return __read_trylock(rw) > 0;
- }
--static int __inline__ __raw_write_trylock(raw_rwlock_t *rw)
-+static __inline__ int __raw_write_trylock(raw_rwlock_t *rw)
- {
-       return __write_trylock(rw) == 0;
- }
--static void __inline__ __raw_read_unlock(raw_rwlock_t *rw)
-+static __inline__ void __raw_read_unlock(raw_rwlock_t *rw)
- {
-       long tmp;
 --- linux-2.6.20/include/linux/cpuset.h~       2007-02-04 19:44:54.000000000 +0100
 +++ linux-2.6.20/include/linux/cpuset.h        2007-04-10 02:06:13.121532000 +0200
 @@ -33,13 +33,13 @@
index 56902d6ecc319253c07159a2ce5ad1d7345402c5..8bb8b5d771f7c4567f6681820c4b4943e82fe654 100644 (file)
@@ -256,20 +256,20 @@ diff --unified --recursive --new-file linux-2.6.21.4/net/Kconfig linux-2.6.21.4-
 diff --unified --recursive --new-file linux-2.6.21.4/net/Makefile linux-2.6.21.4-1-686-smp-ring3/net/Makefile
 --- linux-2.6.21.4/net/Makefile        2007-06-07 21:27:31.000000000 +0000
 +++ linux-2.6.21.4-1-686-smp-ring3/net/Makefile        2007-06-10 16:43:04.394423425 +0000
-@@ -42,6 +42,7 @@
- obj-$(CONFIG_DECNET)          += decnet/
- obj-$(CONFIG_ECONET)          += econet/
- obj-$(CONFIG_VLAN_8021Q)      += 8021q/
+@@ -45,6 +45,7 @@
+ ifneq ($(CONFIG_VLAN_8021Q),)
+ obj-y                         += 8021q/
+ endif
 +obj-$(CONFIG_RING)            += ring/
  obj-$(CONFIG_IP_DCCP)         += dccp/
  obj-$(CONFIG_IP_SCTP)         += sctp/
- obj-$(CONFIG_IEEE80211)               += ieee80211/
+ obj-y                         += wireless/
 diff --unified --recursive --new-file linux-2.6.21.4/net/core/dev.c linux-2.6.21.4-1-686-smp-ring3/net/core/dev.c
 --- linux-2.6.21.4/net/core/dev.c      2007-06-07 21:27:31.000000000 +0000
 +++ linux-2.6.21.4-1-686-smp-ring3/net/core/dev.c      2007-06-10 16:43:04.382422906 +0000
-@@ -117,6 +117,56 @@
- #include <linux/err.h>
- #include <linux/ctype.h>
+@@ -133,6 +133,56 @@
+ #include "net-sysfs.h"
  
 +#if defined (CONFIG_RING) || defined(CONFIG_RING_MODULE)
 +
@@ -324,18 +324,17 @@ diff --unified --recursive --new-file linux-2.6.21.4/net/core/dev.c linux-2.6.21
  /*
   *    The list of packet types we will receive (as opposed to discard)
   *    and the routines to invoke.
-@@ -1474,6 +1524,10 @@
+@@ -1809,6 +1859,9 @@
        skb->tc_verd = SET_TC_AT(skb->tc_verd,AT_EGRESS);
  #endif
        if (q->enqueue) {
 +#if defined (CONFIG_RING) || defined(CONFIG_RING_MODULE)
 +      if(ring_handler) ring_handler(skb, 0, 1);
 +#endif /* CONFIG_RING */
-+
-               /* Grab device queue */
-               spin_lock(&dev->queue_lock);
-               q = dev->qdisc;
-@@ -1574,6 +1628,13 @@
+               spinlock_t *root_lock = qdisc_lock(q);
+               spin_lock(root_lock);
+@@ -1908,6 +1961,13 @@
        unsigned long flags;
  
        /* if netpoll wants it, pretend we never saw it */
@@ -349,8 +348,8 @@ diff --unified --recursive --new-file linux-2.6.21.4/net/core/dev.c linux-2.6.21
        if (netpoll_rx(skb))
                return NET_RX_DROP;
  
-@@ -1764,6 +1825,13 @@
-       struct net_device *orig_dev;
+@@ -2193,6 +2253,13 @@
+       struct net_device *null_or_orig;
        int ret = NET_RX_DROP;
        __be16 type;
 +#if defined (CONFIG_RING) || defined(CONFIG_RING_MODULE)
@@ -362,7 +361,7 @@ diff --unified --recursive --new-file linux-2.6.21.4/net/core/dev.c linux-2.6.21
 +
  
        /* if we've gotten here through NAPI, check netpoll */
-       if (skb->dev->poll && netpoll_rx(skb))
+       if (netpoll_receive_skb(skb))
 diff --unified --recursive --new-file linux-2.6.21.4/net/ring/Kconfig linux-2.6.21.4-1-686-smp-ring3/net/ring/Kconfig
 --- linux-2.6.21.4/net/ring/Kconfig    1970-01-01 00:00:00.000000000 +0000
 +++ linux-2.6.21.4-1-686-smp-ring3/net/ring/Kconfig    2007-06-10 16:43:04.406423944 +0000
This page took 0.080774 seconds and 4 git commands to generate.