aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945-hw.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-03-04 21:09:29 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-03-07 16:03:00 -0500
commit750fe6396614e267aeec0e2ff636740e2688d4d9 (patch)
tree9002a6fa10175e94df7550c9073af32935018dad /drivers/net/wireless/iwlwifi/iwl-3945-hw.h
parent6f83eaa170c05324fb33668eace007ea24c277d2 (diff)
iwlwifi: Move HBUS address to iwl-csr.h
HBUS is accessed through CSR registers moved to iwl-csr.h Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-hw.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945-hw.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h
index 269224ba23b..7dc19136f41 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h
+++ b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h
@@ -321,45 +321,6 @@ struct iwl3945_eeprom {
321#define PCI_REG_WUM8 0x0E8 321#define PCI_REG_WUM8 0x0E8
322#define PCI_CFG_PMC_PME_FROM_D3COLD_SUPPORT (0x80000000) 322#define PCI_CFG_PMC_PME_FROM_D3COLD_SUPPORT (0x80000000)
323 323
324/*=== HBUS (Host-side Bus) ===*/
325#define HBUS_BASE (0x400)
326
327/*
328 * Registers for accessing device's internal SRAM memory (e.g. SCD SRAM
329 * structures, error log, event log, verifying uCode load).
330 * First write to address register, then read from or write to data register
331 * to complete the job. Once the address register is set up, accesses to
332 * data registers auto-increment the address by one dword.
333 * Bit usage for address registers (read or write):
334 * 0-31: memory address within device
335 */
336#define HBUS_TARG_MEM_RADDR (HBUS_BASE+0x00c)
337#define HBUS_TARG_MEM_WADDR (HBUS_BASE+0x010)
338#define HBUS_TARG_MEM_WDAT (HBUS_BASE+0x018)
339#define HBUS_TARG_MEM_RDAT (HBUS_BASE+0x01c)
340
341/*
342 * Registers for accessing device's internal peripheral registers
343 * (e.g. SCD, BSM, etc.). First write to address register,
344 * then read from or write to data register to complete the job.
345 * Bit usage for address registers (read or write):
346 * 0-15: register address (offset) within device
347 * 24-25: (# bytes - 1) to read or write (e.g. 3 for dword)
348 */
349#define HBUS_TARG_PRPH_WADDR (HBUS_BASE+0x044)
350#define HBUS_TARG_PRPH_RADDR (HBUS_BASE+0x048)
351#define HBUS_TARG_PRPH_WDAT (HBUS_BASE+0x04c)
352#define HBUS_TARG_PRPH_RDAT (HBUS_BASE+0x050)
353
354/*
355 * Per-Tx-queue write pointer (index, really!) (3945 and 4965).
356 * Indicates index to next TFD that driver will fill (1 past latest filled).
357 * Bit usage:
358 * 0-7: queue write index
359 * 11-8: queue selector
360 */
361#define HBUS_TARG_WRPTR (HBUS_BASE+0x060)
362
363/* SCD (3945 Tx Frame Scheduler) */ 324/* SCD (3945 Tx Frame Scheduler) */
364#define SCD_BASE (CSR_BASE + 0x2E00) 325#define SCD_BASE (CSR_BASE + 0x2E00)
365 326