summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-12-21 23:15:54 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-12-21 23:15:54 +0000
commit156eadbd32fbebf21493d9fb048d30d821911820 (patch)
tree8cabab2c9ad1a4d6b40748e44ed21060eb5d1823 /net-dialup/fcdsl/files
parentAdd 0.35. (diff)
downloadgentoo-2-156eadbd32fbebf21493d9fb048d30d821911820.tar.gz
gentoo-2-156eadbd32fbebf21493d9fb048d30d821911820.tar.bz2
gentoo-2-156eadbd32fbebf21493d9fb048d30d821911820.zip
2.6.24 patch only for fcdsl version1 thanks to Arnd Feldmueller
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'net-dialup/fcdsl/files')
-rw-r--r--net-dialup/fcdsl/files/fcdsl-2.6.24.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-dialup/fcdsl/files/fcdsl-2.6.24.diff b/net-dialup/fcdsl/files/fcdsl-2.6.24.diff
new file mode 100644
index 000000000000..544b96ead128
--- /dev/null
+++ b/net-dialup/fcdsl/files/fcdsl-2.6.24.diff
@@ -0,0 +1,22 @@
+--- src.fcdsl/driver.c.orig 2007-12-22 00:07:35.000000000 +0100
++++ src.fcdsl/driver.c 2007-12-22 00:07:46.000000000 +0100
+@@ -121,7 +121,7 @@
+
+ static DECLARE_WAIT_QUEUE_HEAD(wait);
+ static DECLARE_WAIT_QUEUE_HEAD(capi_wait);
+-static DECLARE_MUTEX_LOCKED(hotplug);
++static DECLARE_MUTEX(hotplug);
+
+ #define SCHED_WAKEUP_CAPI { atomic_set (&thread_capi_flag, 1); wake_up_interruptible (&capi_wait); }
+ #define SCHED_WAKEUP { atomic_set (&got_kicked, 1); wake_up_interruptible (&wait); }
+@@ -210,7 +210,9 @@
+ cp->rx_dmabuf = NULL;
+ goto dma_rx_exit;
+ }
+- res = request_irq (cp->irq, &irq_handler, SA_INTERRUPT | SA_SHIRQ, TARGET, cp);
++ /* Renamed function now: IRQF_DISABLED and IRQF_SHARED */
++ /* Arnd Feldmueller <arnd.feldmueller@web.de> */
++ res = request_irq (cp->irq, &irq_handler, IRQF_DISABLED | IRQF_SHARED, TARGET, cp);
+ if (res) {
+ LOG("Could not install irq handler.\n");
+ goto dma_tx_exit;