diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-05-04 22:22:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-14 16:29:47 -0400 |
commit | 164669032ecbf7c9a3bc78adad4e13ee486e975c (patch) | |
tree | abd5e1b801267a207effcd604889cca9b246e1a2 /drivers/net/wireless/iwlwifi/iwl-tx.c | |
parent | d67f5489d8d9be09bc8e1615ec6c57c3120a731d (diff) |
iwlwifi: remove 4965 prefix from iwl4965_kw and iwl4965_tx_queue
This patch removes the 4965 prefix to form iwl_kw and iwl_tx_queue structs,
as they are used mostly in iwlcore now.
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-tx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index ade247e63106..a1e03ccd5147 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c | |||
@@ -41,7 +41,7 @@ | |||
41 | * Does NOT advance any TFD circular buffer read/write indexes | 41 | * Does NOT advance any TFD circular buffer read/write indexes |
42 | * Does NOT free the TFD itself (which is within circular buffer) | 42 | * Does NOT free the TFD itself (which is within circular buffer) |
43 | */ | 43 | */ |
44 | int iwl_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl4965_tx_queue *txq) | 44 | int iwl_hw_txq_free_tfd(struct iwl_priv *priv, struct iwl_tx_queue *txq) |
45 | { | 45 | { |
46 | struct iwl_tfd_frame *bd_tmp = (struct iwl_tfd_frame *)&txq->bd[0]; | 46 | struct iwl_tfd_frame *bd_tmp = (struct iwl_tfd_frame *)&txq->bd[0]; |
47 | struct iwl_tfd_frame *bd = &bd_tmp[txq->q.read_ptr]; | 47 | struct iwl_tfd_frame *bd = &bd_tmp[txq->q.read_ptr]; |
@@ -103,8 +103,7 @@ EXPORT_SYMBOL(iwl_hw_txq_free_tfd); | |||
103 | * Free all buffers. | 103 | * Free all buffers. |
104 | * 0-fill, but do not free "txq" descriptor structure. | 104 | * 0-fill, but do not free "txq" descriptor structure. |
105 | */ | 105 | */ |
106 | static void iwl_tx_queue_free(struct iwl_priv *priv, | 106 | static void iwl_tx_queue_free(struct iwl_priv *priv, struct iwl_tx_queue *txq) |
107 | struct iwl4965_tx_queue *txq) | ||
108 | { | 107 | { |
109 | struct iwl4965_queue *q = &txq->q; | 108 | struct iwl4965_queue *q = &txq->q; |
110 | struct pci_dev *dev = priv->pci_dev; | 109 | struct pci_dev *dev = priv->pci_dev; |
@@ -191,7 +190,7 @@ static int iwl_queue_init(struct iwl_priv *priv, struct iwl4965_queue *q, | |||
191 | * iwl_tx_queue_alloc - Alloc driver data and TFD CB for one Tx/cmd queue | 190 | * iwl_tx_queue_alloc - Alloc driver data and TFD CB for one Tx/cmd queue |
192 | */ | 191 | */ |
193 | static int iwl_tx_queue_alloc(struct iwl_priv *priv, | 192 | static int iwl_tx_queue_alloc(struct iwl_priv *priv, |
194 | struct iwl4965_tx_queue *txq, u32 id) | 193 | struct iwl_tx_queue *txq, u32 id) |
195 | { | 194 | { |
196 | struct pci_dev *dev = priv->pci_dev; | 195 | struct pci_dev *dev = priv->pci_dev; |
197 | 196 | ||
@@ -238,7 +237,7 @@ static int iwl_tx_queue_alloc(struct iwl_priv *priv, | |||
238 | * channels supported in hardware. | 237 | * channels supported in hardware. |
239 | */ | 238 | */ |
240 | static int iwl_hw_tx_queue_init(struct iwl_priv *priv, | 239 | static int iwl_hw_tx_queue_init(struct iwl_priv *priv, |
241 | struct iwl4965_tx_queue *txq) | 240 | struct iwl_tx_queue *txq) |
242 | { | 241 | { |
243 | int rc; | 242 | int rc; |
244 | unsigned long flags; | 243 | unsigned long flags; |
@@ -270,7 +269,7 @@ static int iwl_hw_tx_queue_init(struct iwl_priv *priv, | |||
270 | * iwl_tx_queue_init - Allocate and initialize one tx/cmd queue | 269 | * iwl_tx_queue_init - Allocate and initialize one tx/cmd queue |
271 | */ | 270 | */ |
272 | static int iwl_tx_queue_init(struct iwl_priv *priv, | 271 | static int iwl_tx_queue_init(struct iwl_priv *priv, |
273 | struct iwl4965_tx_queue *txq, | 272 | struct iwl_tx_queue *txq, |
274 | int slots_num, u32 txq_id) | 273 | int slots_num, u32 txq_id) |
275 | { | 274 | { |
276 | struct pci_dev *dev = priv->pci_dev; | 275 | struct pci_dev *dev = priv->pci_dev; |