summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/rt2500/kernel-2.6.24.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/rt2500/kernel-2.6.24.patch')
-rw-r--r--abs/core-testing/rt2500/kernel-2.6.24.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core-testing/rt2500/kernel-2.6.24.patch b/abs/core-testing/rt2500/kernel-2.6.24.patch
new file mode 100644
index 0000000..113573f
--- /dev/null
+++ b/abs/core-testing/rt2500/kernel-2.6.24.patch
@@ -0,0 +1,20 @@
+--- rt2500-1.1.0-b4/Module/rtmp_main.c~ 2008-01-25 11:13:14.000000000 +0100
++++ rt2500-1.1.0-b4/Module/rtmp_main.c 2008-01-25 11:17:57.000000000 +0100
+@@ -251,8 +251,6 @@
+ goto err_out;
+ }
+
+- SET_MODULE_OWNER(net_dev);
+-
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
+ SET_NETDEV_DEV(net_dev, &(pPci_Dev->dev));
+ #endif
+@@ -392,7 +390,7 @@
+ NICDisableInterrupt(pAd);
+ }
+
+- status = request_irq(pAd->pPci_Dev->irq, &RTMPIsr, SA_SHIRQ, net_dev->name, net_dev);
++ status = request_irq(pAd->pPci_Dev->irq, &RTMPIsr, IRQF_SHARED, net_dev->name, net_dev);
+ if (status)
+ {
+ goto out_module_put;