2010-02-19 13:52:22 +02:00
|
|
|
--- a/drivers/net/wireless/ath/ath9k/gpio.c
|
|
|
|
+++ b/drivers/net/wireless/ath/ath9k/gpio.c
|
2010-09-15 01:53:54 +03:00
|
|
|
@@ -147,7 +147,9 @@ void ath_init_leds(struct ath_softc *sc)
|
2010-02-19 13:52:22 +02:00
|
|
|
if (AR_SREV_9100(sc->sc_ah))
|
|
|
|
return;
|
|
|
|
|
|
|
|
- if (AR_SREV_9287(sc->sc_ah))
|
|
|
|
+ if (sc->quirk_wndr3700)
|
|
|
|
+ sc->sc_ah->led_pin = ATH_LED_PIN_WNDR3700;
|
|
|
|
+ else if (AR_SREV_9287(sc->sc_ah))
|
|
|
|
sc->sc_ah->led_pin = ATH_LED_PIN_9287;
|
|
|
|
else
|
|
|
|
sc->sc_ah->led_pin = ATH_LED_PIN_DEF;
|
|
|
|
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
|
|
|
|
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
|
2010-10-07 17:27:54 +03:00
|
|
|
@@ -457,6 +457,7 @@ void ath9k_btcoex_timer_pause(struct ath
|
2010-02-19 13:52:22 +02:00
|
|
|
|
|
|
|
#define ATH_LED_PIN_DEF 1
|
|
|
|
#define ATH_LED_PIN_9287 8
|
|
|
|
+#define ATH_LED_PIN_WNDR3700 5
|
|
|
|
#define ATH_LED_ON_DURATION_IDLE 350 /* in msecs */
|
|
|
|
#define ATH_LED_OFF_DURATION_IDLE 250 /* in msecs */
|
|
|
|
|