aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorWinkler, Tomas <tomas.winkler@intel.com>2008-12-21 22:31:14 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:59:23 -0500
commitdbb6654c411e2030ed969ef0c531eb7fda8b27a3 (patch)
tree7029ed3e6525946f6febce4da976d2b8d164f626 /drivers/net/wireless/iwlwifi/iwl-dev.h
parent8cd812bcda06645160b0b279e1a125271a73411c (diff)
iwl3945: rearrange 3945 tfd
This patch moves 3945 TFD structures to iwl-3945-fh.h. It renames them similarly to AGN naming. This patch also eliminates iwl3945_tx_info and fixes endianity issue in iwl3945_tx_skb and iwl3945_enqueue_hcmd caused by ugly casting. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 8981c054a4cb..1ad4d084e357 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -36,14 +36,15 @@
36#include <linux/kernel.h> 36#include <linux/kernel.h>
37#include <net/ieee80211_radiotap.h> 37#include <net/ieee80211_radiotap.h>
38 38
39#include "iwl-rfkill.h"
40#include "iwl-eeprom.h" 39#include "iwl-eeprom.h"
41#include "iwl-4965-hw.h"
42#include "iwl-3945-hw.h"
43#include "iwl-3945-led.h"
44#include "iwl-csr.h" 40#include "iwl-csr.h"
45#include "iwl-prph.h" 41#include "iwl-prph.h"
42#include "iwl-fh.h"
46#include "iwl-debug.h" 43#include "iwl-debug.h"
44#include "iwl-rfkill.h"
45#include "iwl-4965-hw.h"
46#include "iwl-3945-hw.h"
47#include "iwl-3945-led.h"
47#include "iwl-led.h" 48#include "iwl-led.h"
48#include "iwl-power.h" 49#include "iwl-power.h"
49#include "iwl-agn-rs.h" 50#include "iwl-agn-rs.h"
@@ -239,10 +240,10 @@ struct iwl_channel_info {
239 */ 240 */
240struct iwl3945_tx_queue { 241struct iwl3945_tx_queue {
241 struct iwl_queue q; 242 struct iwl_queue q;
242 struct iwl3945_tfd_frame *bd; 243 struct iwl3945_tfd *tfds;
243 struct iwl_cmd *cmd; 244 struct iwl_cmd *cmd;
244 dma_addr_t dma_addr_cmd; 245 dma_addr_t dma_addr_cmd;
245 struct iwl3945_tx_info *txb; 246 struct iwl_tx_info *txb;
246 int need_update; 247 int need_update;
247 int active; 248 int active;
248}; 249};