summaryrefslogtreecommitdiffstats
path: root/openwrt/package/linux/kernel-patches/404-netdev_random_et.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-05 00:10:22 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-05 00:10:22 +0000
commit944b178f530a99ab46b4f2321869023131a3e137 (patch)
tree0f094e4e8f44575c6e67ad2de08f69efb109dbf8 /openwrt/package/linux/kernel-patches/404-netdev_random_et.patch
parent0eac43ecc21c0d11fcb1ede2badc95a6e8fa2979 (diff)
add rml's netdev-random patch and modify et to use it (finally some entropy on /dev/random)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@802 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/linux/kernel-patches/404-netdev_random_et.patch')
-rw-r--r--openwrt/package/linux/kernel-patches/404-netdev_random_et.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/linux/kernel-patches/404-netdev_random_et.patch b/openwrt/package/linux/kernel-patches/404-netdev_random_et.patch
new file mode 100644
index 000000000..e14a43c35
--- /dev/null
+++ b/openwrt/package/linux/kernel-patches/404-netdev_random_et.patch
@@ -0,0 +1,11 @@
+--- linux-2.4.30.old/drivers/net/et/et_linux.c 2005-05-05 02:53:35.000000000 +0200
++++ linux-2.4.30/drivers/net/et/et_linux.c 2005-05-05 02:54:01.000000000 +0200
+@@ -192,7 +192,7 @@
+ #endif
+
+ /* register our interrupt handler */
+- if (request_irq(pdev->irq, et_isr, SA_SHIRQ, dev->name, et)) {
++ if (request_irq(pdev->irq, et_isr, SA_SHIRQ | SA_NET_RANDOM, dev->name, et)) {
+ ET_ERROR(("et%d: request_irq() failed\n", unit));
+ goto fail;
+ }