summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath_led.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-06-26 22:16:53 +0000
committeradrian <adrian@FreeBSD.org>2012-06-26 22:16:53 +0000
commitf6d1a69477137f8ebcfe5c08bf311f2f572826ea (patch)
tree102d71acc40573552e15e34cb83ecfa8466e7714 /sys/dev/ath/if_ath_led.c
parent21928e91251657f5fb4315b2608fb0a44bf2bcea (diff)
downloadFreeBSD-src-f6d1a69477137f8ebcfe5c08bf311f2f572826ea.zip
FreeBSD-src-f6d1a69477137f8ebcfe5c08bf311f2f572826ea.tar.gz
Bring over the initial 802.11n bluetooth coexistence support code.
The Linux ath9k btcoex code is based off of this code. Note this doesn't actually implement functional btcoex; there's some driver glue and a whole lot of verification that is required. On the other hand, I do have the AR9285+BT and AR9287+BT NICs which this code supports.. Obtained from: Qualcomm Atheros, Linux ath9k
Diffstat (limited to 'sys/dev/ath/if_ath_led.c')
-rw-r--r--sys/dev/ath/if_ath_led.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ath/if_ath_led.c b/sys/dev/ath/if_ath_led.c
index 47ae3e1..33cc512 100644
--- a/sys/dev/ath/if_ath_led.c
+++ b/sys/dev/ath/if_ath_led.c
@@ -125,7 +125,7 @@ ath_led_config(struct ath_softc *sc)
/* Software LED blinking - GPIO controlled LED */
if (sc->sc_softled) {
ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_ledpin,
- HAL_GPIO_MUX_OUTPUT);
+ HAL_GPIO_OUTPUT_MUX_AS_OUTPUT);
ath_hal_gpioset(sc->sc_ah, sc->sc_ledpin, !sc->sc_ledon);
}
@@ -139,10 +139,10 @@ ath_led_config(struct ath_softc *sc)
*/
if (sc->sc_led_pwr_pin > 0)
ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_led_pwr_pin,
- HAL_GPIO_MUX_MAC_POWER_LED);
+ HAL_GPIO_OUTPUT_MUX_MAC_POWER_LED);
if (sc->sc_led_net_pin > 0)
ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_led_net_pin,
- HAL_GPIO_MUX_MAC_NETWORK_LED);
+ HAL_GPIO_OUTPUT_MUX_MAC_NETWORK_LED);
}
}
OpenPOWER on IntegriCloud