Skip to contentSkip to conversation

PROBLEM: No config definition for ATHEROS_AR71XX

ath9k-devel Sarah Nadi 2 participants 2 messages May 19, 2011

lore
Share & tools
lore

Sarah Nadi

author
#0 lore raw

Hi,

From: Sarah Nadi<[email protected]>

*Summary:* There is no config definition for ATHEROS_AR71XX in any of the Kconfig files while it is used in /drivers/net/wireless/ath/ath9k/ath9k.h and ./drivers/net/wireless/ath/ath9k/Makefile.

*Problem Description:*
In version 2.6.38.6, there is no config definition for ATHEROS_AR71XX in any of the Kconfig files while CONFIG_ATHEROS_AR71XX is used in:

./drivers/net/wireless/ath/ath9k/Makefile :

ath9k-$(CONFIG_ATHEROS_AR71XX) += ahb.o:

and in /drivers/net/wireless/ath/ath9k/ath9k.h:

#ifdef CONFIG_ATHEROS_AR71XX
int ath_ahb_init(void);
void ath_ahb_exit(void);
#else
static inline int ath_ahb_init(void) { return 0; }; static inline void ath_ahb_exit(void) {}; #endif

This means that this feature can never be enabled, and so ahb.c is never compiled into the kernel, and the code block depending on it in ath9k.h is also never compiled.

Thanks,
Sarah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110519/de35db74/attachment.htm

#1 lore raw
Quoted 7 lines · Sarah Nadi

#ifdef CONFIG_ATHEROS_AR71XX
int ath_ahb_init(void);
void ath_ahb_exit(void);
#else
static inline int ath_ahb_init(void) { return 0; }; static inline void ath_ahb_exit(void) {}; #endif

This was present in openwrt tree, Gabor has started moving this stuff upstream, and recently removed the ifdef stuff anyway IIRC.

Luis