Distro : Slackware 11.0
Kernel : 2.6.20
madwifi : 0.9.2.1
Kernel source 2.6.20 seems to have made a few changes. So far I have come across the following
a) <linux/config.h> is no longer included - work round was to copy file from 2.6.18 source
b) INIT_WORK in <linux/workqueue.h> has changed and now takes 2 parameters rather than 3. Make reports the following:
if_ath.c:415:60: macro "INIT_WORK" passed 3 arguments, but takes just 2.
if_ath.c: In function `ath_attach':
if_ath.c:415: error : `INIT_WORK' undeclared (first use in this function)
c) Also get following error
include/linux/mm.h:658:1: "offset_in_page" redefined
Source for this appears to be ieee80211_linux.h .
Unfortunately my C skills are nowhere good enough to fix any of this!
Iain