summaryrefslogtreecommitdiffstats
path: root/package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-26 10:33:32 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-26 10:33:32 +0000
commite69d8c0d8fbac180aaba30c8a3cdda0770cd8427 (patch)
treef08d225e1f8931634c82cfeb18fa3ad5fa7e664e /package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix
parent609fbd1a579f41a8cb6d1029aa5eb86477851d89 (diff)
uncompress patches, requested by Kaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@460 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix')
-rw-r--r--package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix b/package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix
new file mode 100644
index 000000000..26f544aad
--- /dev/null
+++ b/package/linux/kernel-patches/203-include_net_pkt_sched_h-wlfix
@@ -0,0 +1,34 @@
+--- linux-mips-cvs-21012005/include/net/pkt_sched.h 2004-11-19 01:28:51.000000000 +0100
++++ linux-broadcom/include/net/pkt_sched.h 2005-01-27 04:34:10.000000000 +0100
+@@ -59,7 +59,11 @@
+ int (*enqueue)(struct sk_buff *, struct Qdisc *);
+ struct sk_buff * (*dequeue)(struct Qdisc *);
+ int (*requeue)(struct sk_buff *, struct Qdisc *);
++#ifdef CONFIG_BCM4710
++ int (*drop)(struct Qdisc *);
++#else
+ unsigned int (*drop)(struct Qdisc *);
++#endif
+
+ int (*init)(struct Qdisc *, struct rtattr *arg);
+ void (*reset)(struct Qdisc *);
+@@ -80,12 +84,19 @@
+ #define TCQ_F_THROTTLED 2
+ #define TCQ_F_INGRESS 4
+ struct Qdisc_ops *ops;
++#ifdef CONFIG_BCM4710
++ struct Qdisc *next;
++#endif
+ u32 handle;
++#ifndef CONFIG_BCM4710
+ u32 parent;
++#endif
+ atomic_t refcnt;
+ struct sk_buff_head q;
+ struct net_device *dev;
++#ifndef CONFIG_BCM4710
+ struct list_head list;
++#endif
+
+ struct tc_stats stats;
+ int (*reshape_fail)(struct sk_buff *skb, struct Qdisc *q);