I've realized that madwifi does not compile any more on kernel 2.6.10. It
seems that the ACPI API has changed and therefore the functions
pci_save_state() and pci_restore_state() now take only the device pointer
and nothing more. Furthermore the #define pointing pci_dma_sync_single to
pci_dma_sync_single_for_cpu does not exist any more. I've patched the
source code for 2.6.10 without checking if it still works on <2.6.10 or
2.4.x. So I don't know if the patch is usable as is. I guess it's not.
The patch was made for ath_pci 0.9.4.11 which I've just checked out from
"/Der Herr sprach zu Mose:/ Mein Angesicht kannst du nicht sehen;
denn kein Mensch wird leben, der mich sieht."
I've meanwhile found out that my patch was insufficient and have checked
if it would still compile on kernel 2.6.9. As it did not (like I'd
expected), I've changed the patch a bit now. Besides I've found out that
the kernel function pci_register_driver() was fixed in 2.6.10 and now
returns 0 if the device was found. This was considered an error in
previous kernel versions and therefore madwifi's ath_pci would not load in
this case. This is also patched now.
PGP Key available at http://www.keyserver.net, wwwkeys.pgp.net and other
From: Michael Renzmann <madwifi@no...> - 2004-12-28 19:00:31
Christian Lerrahn wrote:
> I've realized that madwifi does not compile any more on kernel 2.6.10.
Folks, while all your work is greatly appreciated, you could save
yourself lots of trouble by checking the mailing list archives. We now
have at least 5 different patches for the same purpose...
Adjustment of CVS to make it compile with 2.6.10 without breaking
downward compatibility with older kernel versions also is currently work
Just my 0.02€
Get latest updates about Open Source Projects, Conferences and News.