All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] PROBLEM: No config definition for ATHEROS_AR71XX
@ 2011-05-19 15:03 Sarah Nadi
  2011-05-19 20:34   ` Luis R. Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Sarah Nadi @ 2011-05-19 15:03 UTC (permalink / raw)
  To: ath9k-devel

Hi,

From: Sarah Nadi<snadi@uwaterloo.ca>

*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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ath9k-devel] PROBLEM: No config definition for ATHEROS_AR71XX
  2011-05-19 15:03 [ath9k-devel] PROBLEM: No config definition for ATHEROS_AR71XX Sarah Nadi
@ 2011-05-19 20:34   ` Luis R. Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Luis R. Rodriguez @ 2011-05-19 20:34 UTC (permalink / raw)
  To: ath9k-devel

On Thu, May 19, 2011 at 08:03:54AM -0700, Sarah Nadi wrote:
> #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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PROBLEM: No config definition for ATHEROS_AR71XX
@ 2011-05-19 20:34   ` Luis R. Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Luis R. Rodriguez @ 2011-05-19 20:34 UTC (permalink / raw)
  To: Sarah Nadi
  Cc: Luis Rodriguez, Jouni Malinen, Vasanth Thiagarajan,
	Senthilkumar Balasubramanian, linux-wireless@vger.kernel.org,
	ath9k-devel@venema.h4ckr.net

On Thu, May 19, 2011 at 08:03:54AM -0700, Sarah Nadi wrote:
> #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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-19 20:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-19 15:03 [ath9k-devel] PROBLEM: No config definition for ATHEROS_AR71XX Sarah Nadi
2011-05-19 20:34 ` Luis R. Rodriguez
2011-05-19 20:34   ` Luis R. Rodriguez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.