update sangam-atm driver to 07.02.01.00 (closes: #2177, thanks to Matteo Croce)
[openwrt.git] / package / ar7-atm / patches / 110-interrupt_fix.patch
1 diff -ur atm.old/tn7atm.c atm.dev/tn7atm.c
2 --- atm.old/tn7atm.c 2007-04-20 21:04:28.479287240 +0200
3 +++ atm.dev/tn7atm.c 2007-04-20 21:09:05.288205888 +0200
4 @@ -568,7 +568,7 @@
5 * Description: tnetd73xx SAR interrupt.
6 *
7 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
8 -static void tn7atm_sar_irq (int irq, void *voiddev, struct pt_regs *regs)
9 +static irqreturn_t tn7atm_sar_irq (int irq, void *voiddev)
10 {
11 struct atm_dev *atmdev;
12 Tn7AtmPrivate *priv;
13 @@ -595,6 +595,7 @@
14 #ifdef TIATM_INST_SUPP
15 psp_trace_par (ATM_DRV_SAR_ISR_EXIT, retval);
16 #endif
17 + return IRQ_HANDLED;
18 }
19
20 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21 @@ -604,7 +604,7 @@
22 * Description: tnetd73xx DSL interrupt.
23 *
24 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
25 -static void tn7atm_dsl_irq (int irq, void *voiddev, struct pt_regs *regs)
26 +static irqreturn_t tn7atm_dsl_irq (int irq, void *voiddev)
27 {
28 struct atm_dev *atmdev;
29 Tn7AtmPrivate *priv;
30 @@ -626,6 +626,8 @@
31 #ifdef TIATM_INST_SUPP
32 psp_trace_par (ATM_DRV_DSL_ISR_EXIT, retval);
33 #endif
34 +
35 + return IRQ_HANDLED;
36 }
37
38 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This page took 0.04491 seconds and 5 git commands to generate.