diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-03-04 21:09:29 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-07 16:03:00 -0500 |
commit | 750fe6396614e267aeec0e2ff636740e2688d4d9 (patch) | |
tree | 9002a6fa10175e94df7550c9073af32935018dad /drivers/net/wireless/iwlwifi/iwl-4965-hw.h | |
parent | 6f83eaa170c05324fb33668eace007ea24c277d2 (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-4965-hw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-hw.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h index 7e8cc9928b55..24413a479a3f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h | |||
@@ -410,50 +410,6 @@ struct iwl4965_eeprom { | |||
410 | #define PCI_REG_WUM8 0x0E8 | 410 | #define PCI_REG_WUM8 0x0E8 |
411 | #define PCI_CFG_PMC_PME_FROM_D3COLD_SUPPORT (0x80000000) | 411 | #define PCI_CFG_PMC_PME_FROM_D3COLD_SUPPORT (0x80000000) |
412 | 412 | ||
413 | /*=== HBUS (Host-side Bus) ===*/ | ||
414 | #define HBUS_BASE (0x400) | ||
415 | |||
416 | /* | ||
417 | * Registers for accessing device's internal SRAM memory (e.g. SCD SRAM | ||
418 | * structures, error log, event log, verifying uCode load). | ||
419 | * First write to address register, then read from or write to data register | ||
420 | * to complete the job. Once the address register is set up, accesses to | ||
421 | * data registers auto-increment the address by one dword. | ||
422 | * Bit usage for address registers (read or write): | ||
423 | * 0-31: memory address within device | ||
424 | */ | ||
425 | #define HBUS_TARG_MEM_RADDR (HBUS_BASE+0x00c) | ||
426 | #define HBUS_TARG_MEM_WADDR (HBUS_BASE+0x010) | ||
427 | #define HBUS_TARG_MEM_WDAT (HBUS_BASE+0x018) | ||
428 | #define HBUS_TARG_MEM_RDAT (HBUS_BASE+0x01c) | ||
429 | |||
430 | /* | ||
431 | * Registers for accessing device's internal peripheral registers | ||
432 | * (e.g. SCD, BSM, etc.). First write to address register, | ||
433 | * then read from or write to data register to complete the job. | ||
434 | * Bit usage for address registers (read or write): | ||
435 | * 0-15: register address (offset) within device | ||
436 | * 24-25: (# bytes - 1) to read or write (e.g. 3 for dword) | ||
437 | */ | ||
438 | #define HBUS_TARG_PRPH_WADDR (HBUS_BASE+0x044) | ||
439 | #define HBUS_TARG_PRPH_RADDR (HBUS_BASE+0x048) | ||
440 | #define HBUS_TARG_PRPH_WDAT (HBUS_BASE+0x04c) | ||
441 | #define HBUS_TARG_PRPH_RDAT (HBUS_BASE+0x050) | ||
442 | |||
443 | /* | ||
444 | * Per-Tx-queue write pointer (index, really!) (3945 and 4965). | ||
445 | * Driver sets this to indicate index to next TFD that driver will fill | ||
446 | * (1 past latest filled). | ||
447 | * Bit usage: | ||
448 | * 0-7: queue write index (0-255) | ||
449 | * 11-8: queue selector (0-15) | ||
450 | */ | ||
451 | #define HBUS_TARG_WRPTR (HBUS_BASE+0x060) | ||
452 | |||
453 | #define HBUS_TARG_MBX_C (HBUS_BASE+0x030) | ||
454 | |||
455 | #define HBUS_TARG_MBX_C_REG_BIT_CMD_BLOCKED (0x00000004) | ||
456 | |||
457 | #define TFD_QUEUE_SIZE_MAX (256) | 413 | #define TFD_QUEUE_SIZE_MAX (256) |
458 | 414 | ||
459 | #define IWL_NUM_SCAN_RATES (2) | 415 | #define IWL_NUM_SCAN_RATES (2) |