1 --- linux-mips-cvs-21012005/net/sched/sch_generic.c 2005-01-26 16:31:42.000000000 +0100
2 +++ linux-broadcom/net/sched/sch_generic.c 2005-01-27 05:13:47.000000000 +0100
10 INIT_LIST_HEAD(&sch->list);
12 skb_queue_head_init(&sch->q);
14 sch->enqueue = ops->enqueue;
16 if (qdisc->flags&TCQ_F_BUILTIN ||
17 !atomic_dec_and_test(&qdisc->refcnt))
19 +#ifndef CONFIG_BCM4710
20 list_del(&qdisc->list);
22 #ifdef CONFIG_NET_ESTIMATOR
23 qdisc_kill_estimator(&qdisc->stats);
26 printk(KERN_INFO "%s: activation failed\n", dev->name);
29 +#ifndef CONFIG_BCM4710
30 write_lock(&qdisc_tree_lock);
31 list_add_tail(&qdisc->list, &dev->qdisc_list);
32 write_unlock(&qdisc_tree_lock);
36 qdisc = &noqueue_qdisc;
38 dev->qdisc = &noop_qdisc;
39 spin_unlock_bh(&dev->queue_lock);
40 dev->qdisc_sleeping = &noop_qdisc;
41 +#ifdef CONFIG_BCM4710
42 + dev->qdisc_list = NULL;
44 INIT_LIST_HEAD(&dev->qdisc_list);
46 write_unlock(&qdisc_tree_lock);
48 dev_watchdog_init(dev);
53 +#ifdef CONFIG_BCM4710
54 + BUG_TRAP(dev->qdisc_list == NULL);
56 BUG_TRAP(list_empty(&dev->qdisc_list));
58 BUG_TRAP(!timer_pending(&dev->watchdog_timer));
59 spin_unlock_bh(&dev->queue_lock);
60 write_unlock(&qdisc_tree_lock);