diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2010-06-07 16:21:46 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-06-14 14:00:08 -0400 |
commit | d5b25c904755676d2de00cfcc24515ef554cb2bf (patch) | |
tree | 39e0634259886c532eba67854313895b3e7d26ab /drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |
parent | 815e629bfe97d59d8da3aa65dd92bb8a6439699a (diff) |
iwlwifi: rename rxq->dma_addr
Rename rxq->dma_addr to rxq->bd_dma to better emphasize that the
physical address stands for the receive buffer descriptor's address.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-lib.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c index 548f51d92de0..90bd98c1ce80 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |||
@@ -486,7 +486,7 @@ int iwlagn_rx_init(struct iwl_priv *priv, struct iwl_rx_queue *rxq) | |||
486 | 486 | ||
487 | /* Tell device where to find RBD circular buffer in DRAM */ | 487 | /* Tell device where to find RBD circular buffer in DRAM */ |
488 | iwl_write_direct32(priv, FH_RSCSR_CHNL0_RBDCB_BASE_REG, | 488 | iwl_write_direct32(priv, FH_RSCSR_CHNL0_RBDCB_BASE_REG, |
489 | (u32)(rxq->dma_addr >> 8)); | 489 | (u32)(rxq->bd_dma >> 8)); |
490 | 490 | ||
491 | /* Tell device where in DRAM to update its Rx status */ | 491 | /* Tell device where in DRAM to update its Rx status */ |
492 | iwl_write_direct32(priv, FH_RSCSR_CHNL0_STTS_WPTR_REG, | 492 | iwl_write_direct32(priv, FH_RSCSR_CHNL0_STTS_WPTR_REG, |
@@ -751,7 +751,7 @@ void iwlagn_rx_queue_free(struct iwl_priv *priv, struct iwl_rx_queue *rxq) | |||
751 | } | 751 | } |
752 | 752 | ||
753 | dma_free_coherent(&priv->pci_dev->dev, 4 * RX_QUEUE_SIZE, rxq->bd, | 753 | dma_free_coherent(&priv->pci_dev->dev, 4 * RX_QUEUE_SIZE, rxq->bd, |
754 | rxq->dma_addr); | 754 | rxq->bd_dma); |
755 | dma_free_coherent(&priv->pci_dev->dev, sizeof(struct iwl_rb_status), | 755 | dma_free_coherent(&priv->pci_dev->dev, sizeof(struct iwl_rb_status), |
756 | rxq->rb_stts, rxq->rb_stts_dma); | 756 | rxq->rb_stts, rxq->rb_stts_dma); |
757 | rxq->bd = NULL; | 757 | rxq->bd = NULL; |