diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2008-08-25 11:17:29 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:09 -0400 |
commit | c83be6885e2f1ee6e0b290b6cfc82014c675e087 (patch) | |
tree | ee8410596f5400b916e391b861b4537014355ebb /drivers/net/wireless/ath9k/ath9k.h | |
parent | 36aedc903ea11a4188de0a118d26c9f20afdd272 (diff) |
ath9k: Add LED support
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath9k/ath9k.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h index 841893b0b4d4..020b97fd208c 100644 --- a/drivers/net/wireless/ath9k/ath9k.h +++ b/drivers/net/wireless/ath9k/ath9k.h | |||
@@ -757,14 +757,11 @@ struct ath9k_node_stats { | |||
757 | 757 | ||
758 | #define ATH9K_RSSI_EP_MULTIPLIER (1<<7) | 758 | #define ATH9K_RSSI_EP_MULTIPLIER (1<<7) |
759 | 759 | ||
760 | enum ath9k_gpio_output_mux_type { | 760 | #define AR_GPIO_OUTPUT_MUX_AS_OUTPUT 0 |
761 | ATH9K_GPIO_OUTPUT_MUX_AS_OUTPUT, | 761 | #define AR_GPIO_OUTPUT_MUX_AS_PCIE_ATTENTION_LED 1 |
762 | ATH9K_GPIO_OUTPUT_MUX_AS_PCIE_ATTENTION_LED, | 762 | #define AR_GPIO_OUTPUT_MUX_AS_PCIE_POWER_LED 2 |
763 | ATH9K_GPIO_OUTPUT_MUX_AS_PCIE_POWER_LED, | 763 | #define AR_GPIO_OUTPUT_MUX_AS_MAC_NETWORK_LED 5 |
764 | ATH9K_GPIO_OUTPUT_MUX_AS_MAC_NETWORK_LED, | 764 | #define AR_GPIO_OUTPUT_MUX_AS_MAC_POWER_LED 6 |
765 | ATH9K_GPIO_OUTPUT_MUX_AS_MAC_POWER_LED, | ||
766 | ATH9K_GPIO_OUTPUT_MUX_NUM_ENTRIES | ||
767 | }; | ||
768 | 765 | ||
769 | enum { | 766 | enum { |
770 | ATH9K_RESET_POWER_ON, | 767 | ATH9K_RESET_POWER_ON, |
@@ -1008,4 +1005,7 @@ void ath9k_hw_get_channel_centers(struct ath_hal *ah, | |||
1008 | bool ath9k_get_channel_edges(struct ath_hal *ah, | 1005 | bool ath9k_get_channel_edges(struct ath_hal *ah, |
1009 | u16 flags, u16 *low, | 1006 | u16 flags, u16 *low, |
1010 | u16 *high); | 1007 | u16 *high); |
1008 | void ath9k_hw_cfg_output(struct ath_hal *ah, u32 gpio, | ||
1009 | u32 ah_signal_type); | ||
1010 | void ath9k_hw_set_gpio(struct ath_hal *ah, u32 gpio, u32 value); | ||
1011 | #endif | 1011 | #endif |