Hi, I'm trying to port a Wireless Symbol LA3021 driver to Linux kernel 2.6.21. I tried compiling the code but I get an error: ~/Desktop/la3021_0.1/spectrum24_cs.c:1642: error: 'struct net_device' has no member named 'get_wireless_stats' ~/Desktop/la3021_0.1/spectrum24_cs.c: In function 's24_config': ~/Desktop/la3021_0.1/spectrum24_cs.c:1723: error: implicit declaration of function 'SET_MODULE_OWNER' make[2]: *** [~/Desktop/la3021_0.1/spectrum24_cs.o] Error 1 Upon reading the documentation for net_device, I realized that the get_wireless_stats function has been replaced by the struct iw_handler_def with the function pointer get_wireless_stats. In the old code, I saw that the net_device pointer is initialized by: dev = alloc_etherdev(sizeof(s24_dev_t)); I was hoping someone could point me to some guidelines about how to port this. Thanks and regards, Rajat. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ