projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: fix random wireless mac address on the TEW-632BRP/DIR-615 boards
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.28
/
260-extend_pfifo_fast.patch
diff --git
a/target/linux/generic-2.6/patches-2.6.28/260-extend_pfifo_fast.patch
b/target/linux/generic-2.6/patches-2.6.28/260-extend_pfifo_fast.patch
index
a9bdb06
..
90773f7
100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.28/260-extend_pfifo_fast.patch
+++ b/
target/linux/generic-2.6/patches-2.6.28/260-extend_pfifo_fast.patch
@@
-123,11
+123,12
@@
.enqueue = pfifo_fast_enqueue,
.dequeue = pfifo_fast_dequeue,
.requeue = pfifo_fast_requeue,
.enqueue = pfifo_fast_enqueue,
.dequeue = pfifo_fast_dequeue,
.requeue = pfifo_fast_requeue,
-@@ -739,3 +803,1
6
@@ void dev_shutdown(struct net_device *dev
+@@ -739,3 +803,1
8
@@ void dev_shutdown(struct net_device *dev
shutdown_scheduler_queue(dev, &dev->rx_queue, &noop_qdisc);
WARN_ON(timer_pending(&dev->watchdog_timer));
}
+
shutdown_scheduler_queue(dev, &dev->rx_queue, &noop_qdisc);
WARN_ON(timer_pending(&dev->watchdog_timer));
}
+
++#ifdef CONFIG_NET_SCHED
+static int __init sch_generic_init(void)
+{
+ return register_qdisc(&pfifo_fast_ops);
+static int __init sch_generic_init(void)
+{
+ return register_qdisc(&pfifo_fast_ops);
@@
-140,3
+141,4
@@
+
+module_init(sch_generic_init)
+module_exit(sch_generic_exit)
+
+module_init(sch_generic_init)
+module_exit(sch_generic_exit)
++#endif
This page took
0.027156 seconds
and
4
git commands to generate.