Kel Modderman | 14 Oct 2006 07:57
Favicon

revision 1752 committed

Project     : madwifi
Revision    : 1752
Author      : kelmo (Kel Modderman)
Date        : 2006-10-14 07:57:47 +0200 (Sat, 14 Oct 2006)

Log Message :
Starting linux kernel v2.6.19 and later interrupt handlers are not passed
(struct pt_regs *regs).

Signed-off-by: ?\197?\189ilvinas Valinskas <valins <at> soften.ktu.lt>
Signed-off-by: Kel Modderman <kelmo <at> kanotixguide.org>

Affected Files:
* trunk/ath/if_ath.c                                  updated             
* trunk/ath/if_athvar.h                               updated             

Modified: trunk/ath/if_ath.c
===================================================================
--- trunk/ath/if_ath.c	2006-10-13 16:42:41 UTC (rev 1751)
+++ trunk/ath/if_ath.c	2006-10-14 05:57:47 UTC (rev 1752)
 <at>  <at>  -1599,7 +1599,11  <at>  <at> 
  * Interrupt handler.  Most of the actual processing is deferred.
  */
 irqreturn_t
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
+ath_intr(int irq, void *dev_id)
+#else
 ath_intr(int irq, void *dev_id, struct pt_regs *regs)
+#endif
 {
(Continue reading)


Gmane