Deleted Added
full compact
31c31
< __FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_led.c 228887 2011-12-26 05:37:09Z adrian $");
---
> __FBSDID("$FreeBSD: head/sys/dev/ath/if_ath_led.c 228888 2011-12-26 05:46:22Z adrian $");
112a113,132
>
> /*
> * Configure the hardware for software and/or LED blinking.
> *
> * This requires the configuration to be set beforehand.
> */
> void
> 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_MAC_NETWORK_LED);
> ath_hal_gpioset(sc->sc_ah, sc->sc_ledpin, !sc->sc_ledon);
> return;
> }
>
> /* Hardware LED blinking - MAC controlled LED */
> }
>