All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Changing ath9k init.c parameters from debugfs?
@ 2011-06-27 10:45 Fred Matthews
  2011-06-27 15:49 ` Pavel Roskin
  0 siblings, 1 reply; 2+ messages in thread
From: Fred Matthews @ 2011-06-27 10:45 UTC (permalink / raw)
  To: ath9k-devel


Hi all,

I need to change parameters in, /drivers/net/wireless/ath/ath9k/init.c, such that I can modify them at runtime via debugfs. I tried to do this but the driver does not load, as I reckon init.c is called before debug.c
Is there anyway to do this as there is some functions I want to disable/enable configured in init.c, without having to hardcode then recompile again.
Many Thanks 		 	   		  

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

* [ath9k-devel] Changing ath9k init.c parameters from debugfs?
  2011-06-27 10:45 [ath9k-devel] Changing ath9k init.c parameters from debugfs? Fred Matthews
@ 2011-06-27 15:49 ` Pavel Roskin
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Roskin @ 2011-06-27 15:49 UTC (permalink / raw)
  To: ath9k-devel

On 06/27/2011 06:45 AM, Fred Matthews wrote:

> I need to change parameters in,
> /drivers/net/wireless/ath/ath9k/init.c, such that I can modify them
> at runtime via debugfs. I tried to do this but the driver does not
> load, as I reckon init.c is called before debug.c Is there anyway to
> do this as there is some functions I want to disable/enable
> configured in init.c, without having to hardcode then recompile
> again.

init.c and debug.c are both compiled into ath9k.ko, so they are loaded 
at the same time, as a whole.

-- 
Regards,
Pavel Roskin

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

end of thread, other threads:[~2011-06-27 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-27 10:45 [ath9k-devel] Changing ath9k init.c parameters from debugfs? Fred Matthews
2011-06-27 15:49 ` Pavel Roskin

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.