I'm currently using Slackware 12.2 and a Atheros Wi-fi card (Atheros AR2424 from dmesg). I had the same problems compiling madwifi 0.9.4 and ath5k was working disastrous. I got the latest sources from the madwifi svn, compiled smouthly and it works great.
open a terminal, type
Code:
svn checkout http://svn.madwifi-project.org/madwifi/trunk madwifi
blacklist ath5k, compile, install, insert de ath_pci module and you are up and running.
Cheers