Gentoo Archives: gentoo-commits

From: "Stefan Schweizer (genstef)" <genstef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dialup/fcdsl/files: fcdsl-2.6.24.diff
Date: Fri, 21 Dec 2007 23:16:00
Message-Id: E1J5r5v-00053J-Fh@stork.gentoo.org
1 genstef 07/12/21 23:15:55
2
3 Added: fcdsl-2.6.24.diff
4 Log:
5 2.6.24 patch only for fcdsl version1 thanks to Arnd Feldmueller
6 (Portage version: 2.1.4_rc11)
7
8 Revision Changes Path
9 1.1 net-dialup/fcdsl/files/fcdsl-2.6.24.diff
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/fcdsl/files/fcdsl-2.6.24.diff?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/fcdsl/files/fcdsl-2.6.24.diff?rev=1.1&content-type=text/plain
13
14 Index: fcdsl-2.6.24.diff
15 ===================================================================
16 --- src.fcdsl/driver.c.orig 2007-12-22 00:07:35.000000000 +0100
17 +++ src.fcdsl/driver.c 2007-12-22 00:07:46.000000000 +0100
18 @@ -121,7 +121,7 @@
19
20 static DECLARE_WAIT_QUEUE_HEAD(wait);
21 static DECLARE_WAIT_QUEUE_HEAD(capi_wait);
22 -static DECLARE_MUTEX_LOCKED(hotplug);
23 +static DECLARE_MUTEX(hotplug);
24
25 #define SCHED_WAKEUP_CAPI { atomic_set (&thread_capi_flag, 1); wake_up_interruptible (&capi_wait); }
26 #define SCHED_WAKEUP { atomic_set (&got_kicked, 1); wake_up_interruptible (&wait); }
27 @@ -210,7 +210,9 @@
28 cp->rx_dmabuf = NULL;
29 goto dma_rx_exit;
30 }
31 - res = request_irq (cp->irq, &irq_handler, SA_INTERRUPT | SA_SHIRQ, TARGET, cp);
32 + /* Renamed function now: IRQF_DISABLED and IRQF_SHARED */
33 + /* Arnd Feldmueller <arnd.feldmueller@×××.de> */
34 + res = request_irq (cp->irq, &irq_handler, IRQF_DISABLED | IRQF_SHARED, TARGET, cp);
35 if (res) {
36 LOG("Could not install irq handler.\n");
37 goto dma_tx_exit;
38
39
40
41 --
42 gentoo-commits@g.o mailing list