aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-4965-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-4965-lib.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-4965-lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965-lib.c b/drivers/net/wireless/iwlegacy/iwl-4965-lib.c
index ee04977c0113..bbec6bd550d3 100644
--- a/drivers/net/wireless/iwlegacy/iwl-4965-lib.c
+++ b/drivers/net/wireless/iwlegacy/iwl-4965-lib.c
@@ -105,7 +105,7 @@ int il4965_rx_init(struct il_priv *il, struct il_rx_queue *rxq)
105 /* Stop Rx DMA */ 105 /* Stop Rx DMA */
106 il_wr(il, FH_MEM_RCSR_CHNL0_CONFIG_REG, 0); 106 il_wr(il, FH_MEM_RCSR_CHNL0_CONFIG_REG, 0);
107 107
108 /* Reset driver's Rx queue write index */ 108 /* Reset driver's Rx queue write idx */
109 il_wr(il, FH_RSCSR_CHNL0_RBDCB_WPTR_REG, 0); 109 il_wr(il, FH_RSCSR_CHNL0_RBDCB_WPTR_REG, 0);
110 110
111 /* Tell device where to find RBD circular buffer in DRAM */ 111 /* Tell device where to find RBD circular buffer in DRAM */
@@ -222,7 +222,7 @@ static inline __le32 il4965_dma_addr2rbd_ptr(struct il_priv *il,
222 * and we have free pre-allocated buffers, fill the ranks as much 222 * and we have free pre-allocated buffers, fill the ranks as much
223 * as we can, pulling from rx_free. 223 * as we can, pulling from rx_free.
224 * 224 *
225 * This moves the 'write' index forward to catch up with 'processed', and 225 * This moves the 'write' idx forward to catch up with 'processed', and
226 * also updates the memory address in the firmware to reference the new 226 * also updates the memory address in the firmware to reference the new
227 * target buffer. 227 * target buffer.
228 */ 228 */