I working at porting the AR531x (MIPS arch) based devices (Wistron airca8, Ovislink WLA-5000AP) to be GPL'ed I have working driver dated to 2003, but it lack of features. When i trid latest Atheros HAL, it support only those devices for mips platform:
ath_hal: 0.9.15.1 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
For that device is must muse the "ahb" bus driver (ath_ahb.c). That driver is designed for those devices:
#define AR5212_AR5312_REV2 0x0052 /* AR5312 WMAC (AP31) */
#define AR5212_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */
#define AR5212_AR2313_REV8 0x0058 /* AR2313 WMAC (AP43-030) */
#define AR5212_AR2315_REV6 0x0086 /* AR2315 WMAC (AP51-Light) */
#define AR5212_AR2315_REV7 0x0087 /* AR2315 WMAC (AP51-Full) */
ahb driver detected that my device need to use this devid:
#define AR5212_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */
BUT the main problem is that this device is not supported by any of current mips be HALs and loading of the driver finish with that message:
unable to attach hardware: 'No hardware present or device not yet supported' (HAL status 1)
I have tried change the devid but with no success (its logical because current MIPS hal is not supposed for those devices)...
So, my question is, is posible add correct ar531x SOC mips-be HAL to the madwifi project ?
Jiri
jirif(at)users.sourceforge.net