| /* |
| *************************************************************************** |
| * Ralink Tech Inc. |
| * 4F, No. 2 Technology 5th Rd. |
| * Science-based Industrial Park |
| * Hsin-chu, Taiwan, R.O.C. |
| * |
| * (c) Copyright 2002-2004, Ralink Technology, Inc. |
| * |
| * All rights reserved. Ralink's source code is an unpublished work and the |
| * use of a copyright notice does not imply otherwise. This source code |
| * contains confidential trade secret material of Ralink Tech. Any attemp |
| * or participation in deciphering, decoding, reverse engineering or in any |
| * way altering the source code is stricitly prohibited, unless the prior |
| * written consent of Ralink Technology, Inc. is obtained. |
| *************************************************************************** |
| |
| Module Name: |
| host_csr.h |
| |
| Abstract: |
| Ralink Wireless Chip MAC related definition & structures |
| |
| Revision History: |
| Who When What |
| -------- ---------- -------------------------------------- |
| */ |
| |
| #ifndef __HOST_CSR_H__ |
| #define __HOST_CSR_H__ |
| |
| #define HOST_CSR_DRIVER_OWN_INFO 0x7000 |
| #define HOST_CSR_BASE 0x7100 |
| |
| /* MCU programming Counter info (no sync) */ |
| #define HOST_CSR_MCU_PORG_COUNT (HOST_CSR_BASE + 0x04) |
| |
| /* RGU Info */ |
| #define HOST_CSR_RGU (HOST_CSR_BASE + 0x08) |
| |
| /* HIF_BUSY / CIRQ / WFSYS_ON info */ |
| #define HOST_CSR_HIF_BUSY_CORQ_WFSYS_ON (HOST_CSR_BASE + 0x0C) |
| |
| /* Pinmux/mon_flag info */ |
| #define HOST_CSR_PINMUX_MON_FLAG (HOST_CSR_BASE + 0x10) |
| |
| /* Bit[5] mcu_pwr_stat */ |
| #define HOST_CSR_MCU_PWR_STAT (HOST_CSR_BASE + 0x14) |
| |
| /* Bit[15] fw_own_stat */ |
| #define HOST_CSR_FW_OWN_SET (HOST_CSR_BASE + 0x18) |
| |
| /* MCU SW Mailbox */ |
| #define HOST_CSR_MCU_SW_MAILBOX_0 (HOST_CSR_BASE + 0x1C) |
| #define HOST_CSR_MCU_SW_MAILBOX_1 (HOST_CSR_BASE + 0x20) |
| #define HOST_CSR_MCU_SW_MAILBOX_2 (HOST_CSR_BASE + 0x24) |
| #define HOST_CSR_MCU_SW_MAILBOX_3 (HOST_CSR_BASE + 0x28) |
| |
| /* Conn_cfg_on info */ |
| #define HOST_CSR_CONN_CFG_ON (HOST_CSR_BASE + 0x2C) |
| |
| /* Get conn_cfg_on IRQ ENA/IRQ Status 0xC_1170~0xC_1174 */ |
| #define HOST_CSR_IRQ_STA 0xC1170 |
| #define HOST_CSR_IRQ_ENA 0xC1174 |
| |
| /* Get mcu_cfg PC programming Counter log info 0x0_2450~0x0_24D0 */ |
| #define HOST_CSR_MCU_PROG_COUNT 0x2450 |
| |
| #endif /* __HOST_CSR_H__ */ |