From: Jim Thompson (jim_at_musenki.com)
Date: 2002-04-09 20:24:55 UTC
I've got the hostap driver coming up on a PowerPC-based platform here.
http://www.musenki.com/~jim//Musenki/
After an egregious hack to prism2_pci.h which basically consists of eliminating any existing define for __cpu_to_le16() and __le16_to_cpu(), (and then making new versions that are essentially nops):
#include <asm/byteorder.h>
[...]
#ifdef __BIG_ENDIAN
#undef __le16_to_cpu()
#undef __cpu_to_le16()
#define __le16_to_cpu(x) (x)
#define __cpu_to_le16(x) (x)
#endif
I get to this point:
# insmod ./prism2hostap_pci.o
Prism2.5 PCI found [phymem:0xbfffe000, irq:17, mem:0xc3013000]
prism2hostap_pci: Registered netdevice wlan0
prism2_hw_config: initialized in 977 iterations
wlan0: NIC: id=0x8013 v1.0.0 wlan0: PRI: id=0x15 v1.0.5 wlan0: STA: id=0x1f v1.3.3 wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: MAC port 0 reseting failedprism2hostap_pci: Initialization failed prism2hostap_pci: Prism2.5 PCI init finished (return code: 1)
Note the 1.3.3 f/w. Hmmm.
Trying a differet card:
# insmod ./prism2hostap_pci.o
Prism2.5 PCI found [phymem:0xbfffe000, irq:17, mem:0xc3013000]
prism2hostap_pci: Registered netdevice wlan0
prism2_hw_config: initialized in 978 iterations
wlan0: NIC: id=0x8013 v1.0.0 wlan0: PRI: id=0x15 v1.0.5 wlan0: STA: id=0x1f v1.3.2 wlan0: hfa384x_cmd - timeout2 - reg=0x8000 wlan0: MAC port 0 reseting failedprism2hostap_pci: Initialization failed prism2hostap_pci: Prism2.5 PCI init finished (return code: 1)
Anyone have any advice on how to eliminate this issue?
jim
-- "...the neurotic has problems, the psychotic has solutions." --Thomas Szasz