From: oiioeu at aol.com Date: Mon, 18 Jan 2010 20:37:31 -0500 Subject: [ath9k-devel] how to enable LED in ath9k Message-ID: <8CC66BF19FA3C9B-3220-7DDE@webmail-m006.sysops.aol.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org I found two places of code to control LED, 4 %a "build_dir/linux-ixp4xx_generic/compat-wireless-2009-11-21/drivers/net/wireless/ath/ath9k/main.c" line 1013 2 %a "build_dir/linux-ixp4xx_generic/compat-wireless-2009-11-21/net/mac80211/led.c" line 47 for the first one I've tried to set GPIO number in function static void ath_init_leds(struct ath_softc *sc), but didn't work, for the sencond one it seems to call LED driver of the kernel. but I can't find anything that make sense for an AP from this code. my question is which one is the proper way to make LED work on my test board? for example I use gpio2 as the output to LED. and how to make changes? especially for an AP, thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100118/7e77e84b/attachment.htm