Ticket #950: 2.6.19-ptregs-fix.diff
| File 2.6.19-ptregs-fix.diff, 1.3 kB (added by Žilvinas Valinskas <valins@soften.ktu.lt>, 2 years ago) |
|---|
-
a/ath/if_ath.c
old new 1583 1583 * Interrupt handler. Most of the actual processing is deferred. 1584 1584 */ 1585 1585 irqreturn_t 1586 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2.6.19)) 1587 ath_intr(int irq, void *dev_id) 1588 #else 1586 1589 ath_intr(int irq, void *dev_id, struct pt_regs *regs) 1590 #endif 1587 1591 { 1588 1592 struct net_device *dev = dev_id; 1589 1593 struct ath_softc *sc = dev->priv; -
a/ath/if_athvar.h
old new 726 726 void ath_resume(struct net_device *); 727 727 void ath_suspend(struct net_device *); 728 728 void ath_shutdown(struct net_device *); 729 irqreturn_t ath_intr(int, void *, struct pt_regs *); 729 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2.6.19)) 730 irqreturn_t ath_intr(int, void *); 731 #else 732 irqreturn_t ath_intr(int, void *, struct pt_regs *regs); 733 #endif 730 734 int ath_ioctl_ethtool(struct ath_softc *, int, void __user *); 731 735 void bus_read_cachesize(struct ath_softc *, u_int8_t *); 732 736 #ifdef CONFIG_SYSCTL
