Skip to content

Commit

Permalink
iwlwifi: 3945 unfold iwl-3945-commands.h
Browse files Browse the repository at this point in the history
This patch unfolds includes of iwl-3945-commands.h

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Jan 29, 2009
1 parent bddadf8 commit 69d00d2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
5 changes: 5 additions & 0 deletions drivers/net/wireless/iwlwifi/iwl-3945-commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ enum {
REPLY_MAX = 0xff
};

/* Tx rates */
#define IWL_CCK_RATES 4
#define IWL_OFDM_RATES 8
#define IWL_MAX_RATES (IWL_CCK_RATES + IWL_OFDM_RATES)

/******************************************************************************
* (0)
* Commonly used structures and definitions:
Expand Down
10 changes: 1 addition & 9 deletions drivers/net/wireless/iwlwifi/iwl-3945-hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,7 @@
* uCode queue management definitions ...
* Queue #4 is the command queue for 3945 and 4965.
*/
#define IWL_CMD_QUEUE_NUM 4

/* Tx rates */
#define IWL_CCK_RATES 4
#define IWL_OFDM_RATES 8
#define IWL_HT_RATES 0
#define IWL_MAX_RATES (IWL_CCK_RATES+IWL_OFDM_RATES+IWL_HT_RATES)
#define IWL_CMD_QUEUE_NUM 4

/* Time constants */
#define SHORT_SLOT_TIME 9
Expand Down Expand Up @@ -281,8 +275,6 @@ struct iwl3945_eeprom {
/* End of EEPROM */


#include "iwl-3945-commands.h"

#define PCI_LINK_CTRL 0x0F0
#define PCI_POWER_SOURCE 0x0C8
#define PCI_REG_WUM8 0x0E8
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/iwl-3945-led.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
#include <linux/etherdevice.h>
#include <asm/unaligned.h>

#include "iwl-3945-commands.h"
#include "iwl-3945.h"
#include "iwl-helpers.h"


static const struct {
Expand Down
1 change: 1 addition & 0 deletions drivers/net/wireless/iwlwifi/iwl-3945-rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

#include <linux/workqueue.h>

#include "iwl-3945-commands.h"
#include "iwl-3945.h"

#define RS_NAME "iwl-3945-rs"
Expand Down
1 change: 1 addition & 0 deletions drivers/net/wireless/iwlwifi/iwl-3945.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#include "iwl-3945-core.h"
#include "iwl-3945-fh.h"
#include "iwl-3945-commands.h"
#include "iwl-3945.h"
#include "iwl-helpers.h"
#include "iwl-3945-rs.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#include <asm/div64.h>

#include "iwl-3945-core.h"
#include "iwl-3945-commands.h"
#include "iwl-3945.h"
#include "iwl-3945-fh.h"
#include "iwl-helpers.h"
Expand Down

0 comments on commit 69d00d2

Please sign in to comment.