Ok, I have gotten a little further. I had to replace the MODVERDIR with the (new?) "M" in the modules makefile and then they compiled fine.
I am now having a problem compiling the driver, the driver uses the old MODULE_PARM so i replaced these with the new module_param equivelents.
Now i get problems in compile with different errors:
output error: r8187_core.c:2338: warning: ISO C90 forbids mixed declarations and code
Code:
2332:int rtl8180_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
2333:{
2334: struct r8180_priv *priv = (struct r8180_priv *)ieee80211_priv(dev);
2335:
2336: down(&priv->wx_sem);
2337:
2338: struct iwreq *wrq = (struct iwreq *) rq;
2339: int ret=-1;
2340: switch (cmd) {
2341: case RTL_IOCTL_WPA_SUPPLICANT:
2342: ret = ieee80211_wpa_supplicant_ioctl(priv->ieee80211, &wrq->u.data);
2343: break;
2344:
2345: default:
2346: ret = -EOPNOTSUPP;
2347: break;
2348: }
2349:
2350: up(&priv->wx_sem);
2351:
2352: return ret;
2353:}
error output: r8180_wx.c:167: error: implicit declaration of function ‘rtl8187_set_rxconf’
Code:
157:static int r8180_wx_set_mode(struct net_device *dev, struct iw_request_info *a,
158: union iwreq_data *wrqu, char *b)
159:{
160: struct r8180_priv *priv = ieee80211_priv(dev);
161: int ret;
162:
163: down(&priv->wx_sem);
164:
165: ret = ieee80211_wx_set_mode(priv->ieee80211,a,wrqu,b);
166:
167: rtl8187_set_rxconf(dev);
168:
169: up(&priv->wx_sem);
170: return ret;
171:}
If anyone could help me t o fix these i'd be grateful. Thanks