diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2009-01-08 13:19:57 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:14 -0500 |
commit | 1e33dc64475790c10a7cda3ca23d2eb678760d85 (patch) | |
tree | d570577118248d83e3ca8af6578ab79db62d832c /drivers/net/wireless/iwlwifi/iwl-4965-hw.h | |
parent | d45aadd04b60c6d4f846e7ec2564654567065e5f (diff) |
iwl3945: use hw_params.rx_buf_size
This patch makes 3945 use of hw_params.rx_buf_size instead of
IWL_RX_BUF_SIZE. It also renames IWL_RX_BUF_SIZE to IWL_RX_BUF_SIZE_3K
and moves rx buffer defines into iwl-fh.h.
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-4965-hw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-hw.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h index e751c53ae1f8..ed6baa539f50 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h | |||
@@ -110,19 +110,6 @@ | |||
110 | 110 | ||
111 | #define IWL_DEFAULT_TX_RETRY 15 | 111 | #define IWL_DEFAULT_TX_RETRY 15 |
112 | 112 | ||
113 | #define RX_QUEUE_SIZE 256 | ||
114 | #define RX_QUEUE_MASK 255 | ||
115 | #define RX_QUEUE_SIZE_LOG 8 | ||
116 | |||
117 | /* | ||
118 | * RX related structures and functions | ||
119 | */ | ||
120 | #define RX_FREE_BUFFERS 64 | ||
121 | #define RX_LOW_WATERMARK 8 | ||
122 | |||
123 | /* Size of one Rx buffer in host DRAM */ | ||
124 | #define IWL_RX_BUF_SIZE_4K (4 * 1024) | ||
125 | #define IWL_RX_BUF_SIZE_8K (8 * 1024) | ||
126 | 113 | ||
127 | /* Sizes and addresses for instruction and data memory (SRAM) in | 114 | /* Sizes and addresses for instruction and data memory (SRAM) in |
128 | * 4965's embedded processor. Driver access is via HBUS_TARG_MEM_* regs. */ | 115 | * 4965's embedded processor. Driver access is via HBUS_TARG_MEM_* regs. */ |