[Madwifi-users] madwifi with Linux 2.6.10-rc3
Status: Beta
Brought to you by:
otaku
From: Richard D. <ri...@ph...> - 2004-12-18 14:54:41
|
Hello. I've managed to get ath_pci to load with 2.6.10-rc3. I don't have any idea if it actually passes Wi-fi traffic, since there are no APs around here. But it at least loads. Attached is my current set of patches. It includes my README patch, a fix for a warning (the uint8_t change) and the changes to build with 2.6.10-rc2 and 2.6.10-rc3. 2.6.10-rc2 and later seem to have changes in the PCI APIs. pci_register_driver() used to return the count of registered drivers or a negative value indicating error. Now it just returns 0 on success and negative on error. So although the Atheros driver has loaded OK, the stock CVS driver thinks that it has failed. Hence this change: @@ -328,7 +323,7 @@ init_ath_pci(void) { printk(KERN_INFO "%s: %s\n", dev_info, version); - if (pci_register_driver(&ath_pci_drv_id) <= 0) { + if (pci_register_driver(&ath_pci_drv_id) < 0) { printk("ath_pci: No devices found, driver not installed.\n"); pci_unregister_driver(&ath_pci_drv_id); return (-ENODEV); I'd be interested to know if the driver functions OK with this change, since I have no access to any Wi-fi networks to check. Cheers, bye, Rich =] -- Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ] "You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek |