aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorRon Rindjunsky <ron.rindjunsky@intel.com>2008-05-29 04:34:47 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-03 15:00:17 -0400
commit87283cc1290f23458232cdf3b1893acb750a4ad3 (patch)
treed7a13cab544cbdc9dc434c7e2252fe94960e5234 /drivers/net/wireless
parentede0cba45f2caf47715d105f6acc1086f4112a7a (diff)
iwlwifi: add RTC data address for iwl5000
This patch fills the valid_rtc_data_addr handler in iwl5000. Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index 520c7eaf1b0d..d6ffdeefcf0d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -768,6 +768,12 @@ static void iwl5000_rx_handler_setup(struct iwl_priv *priv)
768{ 768{
769} 769}
770 770
771static int iwl5000_hw_valid_rtc_data_addr(u32 addr)
772{
773 return (addr >= RTC_DATA_LOWER_BOUND) &&
774 (addr < IWL50_RTC_DATA_UPPER_BOUND);
775}
776
771static struct iwl_hcmd_ops iwl5000_hcmd = { 777static struct iwl_hcmd_ops iwl5000_hcmd = {
772}; 778};
773 779
@@ -788,6 +794,7 @@ static struct iwl_lib_ops iwl5000_lib = {
788 .txq_update_byte_cnt_tbl = iwl5000_txq_update_byte_cnt_tbl, 794 .txq_update_byte_cnt_tbl = iwl5000_txq_update_byte_cnt_tbl,
789 .disable_tx_fifo = iwl5000_disable_tx_fifo, 795 .disable_tx_fifo = iwl5000_disable_tx_fifo,
790 .rx_handler_setup = iwl5000_rx_handler_setup, 796 .rx_handler_setup = iwl5000_rx_handler_setup,
797 .is_valid_rtc_data_addr = iwl5000_hw_valid_rtc_data_addr,
791 .load_ucode = iwl5000_load_ucode, 798 .load_ucode = iwl5000_load_ucode,
792 .init_alive_start = iwl5000_init_alive_start, 799 .init_alive_start = iwl5000_init_alive_start,
793 .alive_notify = iwl5000_alive_notify, 800 .alive_notify = iwl5000_alive_notify,