From 156eadbd32fbebf21493d9fb048d30d821911820 Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Fri, 21 Dec 2007 23:15:54 +0000 Subject: 2.6.24 patch only for fcdsl version1 thanks to Arnd Feldmueller (Portage version: 2.1.4_rc11) --- net-dialup/fcdsl/files/fcdsl-2.6.24.diff | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 net-dialup/fcdsl/files/fcdsl-2.6.24.diff (limited to 'net-dialup/fcdsl/files') 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 */ ++ 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; -- cgit v1.2.3-65-gdbad