Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h

Issue 6900058: ath9k: Fix LED gpio for AR93xx chipsets. (Closed) Base URL: ssh://gitrw.chromium.org:9222/kernel.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/gpio.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008-2009 Atheros Communications Inc. 2 * Copyright (c) 2008-2009 Atheros Communications Inc.
3 * 3 *
4 * Permission to use, copy, modify, and/or distribute this software for any 4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above 5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies. 6 * copyright notice and this permission notice appear in all copies.
7 * 7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 int ath_init_btcoex_timer(struct ath_softc *sc); 434 int ath_init_btcoex_timer(struct ath_softc *sc);
435 void ath9k_btcoex_timer_resume(struct ath_softc *sc); 435 void ath9k_btcoex_timer_resume(struct ath_softc *sc);
436 void ath9k_btcoex_timer_pause(struct ath_softc *sc); 436 void ath9k_btcoex_timer_pause(struct ath_softc *sc);
437 437
438 /********************/ 438 /********************/
439 /* LED Control */ 439 /* LED Control */
440 /********************/ 440 /********************/
441 441
442 #define ATH_LED_PIN_DEF 1 442 #define ATH_LED_PIN_DEF 1
443 #define ATH_LED_PIN_9287 8 443 #define ATH_LED_PIN_9287 8
444 #define ATH_LED_PIN_9300 10
444 #define ATH_LED_ON_DURATION_IDLE 350 /* in msecs */ 445 #define ATH_LED_ON_DURATION_IDLE 350 /* in msecs */
445 #define ATH_LED_OFF_DURATION_IDLE 250 /* in msecs */ 446 #define ATH_LED_OFF_DURATION_IDLE 250 /* in msecs */
446 447
447 enum ath_led_type { 448 enum ath_led_type {
448 ATH_LED_RADIO, 449 ATH_LED_RADIO,
449 ATH_LED_ASSOC, 450 ATH_LED_ASSOC,
450 ATH_LED_TX, 451 ATH_LED_TX,
451 ATH_LED_RX 452 ATH_LED_RX
452 }; 453 };
453 454
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 bool ath9k_all_wiphys_idle(struct ath_softc *sc); 719 bool ath9k_all_wiphys_idle(struct ath_softc *sc);
719 void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle); 720 void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle);
720 721
721 void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue); 722 void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue);
722 bool ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue); 723 bool ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue);
723 724
724 void ath_start_rfkill_poll(struct ath_softc *sc); 725 void ath_start_rfkill_poll(struct ath_softc *sc);
725 extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); 726 extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw);
726 727
727 #endif /* ATH9K_H */ 728 #endif /* ATH9K_H */
OLDNEW
« no previous file with comments | « no previous file | chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/gpio.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698