[driverloader] "fix" to netndis.c for Linux 2.6.19

Bill Gabella b.gabella at vanderbilt.edu
Fri Jan 19 11:39:11 EST 2007


Jonathan,
  I just downloaded and installed the new Linux kernel
2.6.19-1.2895.fc6 #1 SMP
and found driverloader could not compile.  I ran
sh dldrinstall.run 
and retrieved the most recent rpm, but still a problem.

  I tracked it down to a change in the Linux wireless.h,
specifically
 * V20 to V21
 * ----------
 *	- Remove (struct net_device *)->get_wireless_stats()

  no get_wireless_stats().  So I commented this out in
the netndis.c, line 4826.  I am not sure what else I may have broken,
but it seem to work now.

#if IW_HANDLER_VERSION >= 6
	dev->wireless_handlers = &netndis_handler_def;
#endif
	//BG070119	dev->get_wireless_stats = netndis_get_wireless_stats;
	dev->do_ioctl = netndis_ioctl;
	dev->change_mtu = netndis_change_mtu;

  FYI, bill e. gabella


-- 
William E. Gabella
b.gabella at vanderbilt.edu
615-343-2713
FEL Center/Vanderbilt University
Nashville, TN 37235




More information about the driverloader mailing list