diff options
author | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-28 08:59:48 +0000 |
---|---|---|
committer | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-28 08:59:48 +0000 |
commit | 85c563208a38440793caba1c33d928e9ad193cb8 (patch) | |
tree | e0552dca663aa06f918f4085c304ebba6675f082 /openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix | |
parent | 11f2bce116f3d54ca2120ca1c4b059c6a9bd56ca (diff) |
remove old wl fixes and some unused qos stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@742 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix')
-rw-r--r-- | openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix b/openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix deleted file mode 100644 index 4e4b82874..000000000 --- a/openwrt/package/linux/kernel-patches/202-net_sched_sch_generic_c-wlfix +++ /dev/null @@ -1,60 +0,0 @@ ---- linux-mips-cvs-21012005/net/sched/sch_generic.c 2005-01-26 16:31:42.000000000 +0100 -+++ linux-broadcom/net/sched/sch_generic.c 2005-01-27 05:13:47.000000000 +0100 -@@ -392,7 +392,11 @@ - return NULL; - memset(sch, 0, size); - -+#ifdef CONFIG_BCM4710 -+ sch->next = NULL; -+#else - INIT_LIST_HEAD(&sch->list); -+#endif - skb_queue_head_init(&sch->q); - sch->ops = ops; - sch->enqueue = ops->enqueue; -@@ -426,7 +430,9 @@ - if (qdisc->flags&TCQ_F_BUILTIN || - !atomic_dec_and_test(&qdisc->refcnt)) - return; -+#ifndef CONFIG_BCM4710 - list_del(&qdisc->list); -+#endif - #ifdef CONFIG_NET_ESTIMATOR - qdisc_kill_estimator(&qdisc->stats); - #endif -@@ -454,9 +460,11 @@ - printk(KERN_INFO "%s: activation failed\n", dev->name); - return; - } -+#ifndef CONFIG_BCM4710 - write_lock(&qdisc_tree_lock); - list_add_tail(&qdisc->list, &dev->qdisc_list); - write_unlock(&qdisc_tree_lock); -+#endif - - } else { - qdisc = &noqueue_qdisc; -@@ -501,7 +509,11 @@ - dev->qdisc = &noop_qdisc; - spin_unlock_bh(&dev->queue_lock); - dev->qdisc_sleeping = &noop_qdisc; -+#ifdef CONFIG_BCM4710 -+ dev->qdisc_list = NULL; -+#else - INIT_LIST_HEAD(&dev->qdisc_list); -+#endif - write_unlock(&qdisc_tree_lock); - - dev_watchdog_init(dev); -@@ -523,7 +535,11 @@ - qdisc_destroy(qdisc); - } - #endif -+#ifdef CONFIG_BCM4710 -+ BUG_TRAP(dev->qdisc_list == NULL); -+#else - BUG_TRAP(list_empty(&dev->qdisc_list)); -+#endif - BUG_TRAP(!timer_pending(&dev->watchdog_timer)); - spin_unlock_bh(&dev->queue_lock); - write_unlock(&qdisc_tree_lock); |