Ticket #950: madwifi-2.6.19-ptregs-fix.diff
| File madwifi-2.6.19-ptregs-fix.diff, 1.1 kB (added by kelmo, 2 years ago) |
|---|
-
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 -
ath/if_ath.c
old new 1599 1599 * Interrupt handler. Most of the actual processing is deferred. 1600 1600 */ 1601 1601 irqreturn_t 1602 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) 1603 ath_intr(int irq, void *dev_id) 1604 #else 1602 1605 ath_intr(int irq, void *dev_id, struct pt_regs *regs) 1606 #endif 1603 1607 { 1604 1608 struct net_device *dev = dev_id; 1605 1609 struct ath_softc *sc = dev->priv;
