0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _CPCIHP_ZT5550_H
0015 #define _CPCIHP_ZT5550_H
0016
0017
0018 #define CSR_HCINDEX 0x00
0019 #define CSR_HCDATA 0x04
0020 #define CSR_INTSTAT 0x08
0021 #define CSR_INTMASK 0x09
0022 #define CSR_CNT0CMD 0x0C
0023 #define CSR_CNT1CMD 0x0E
0024 #define CSR_CNT0 0x10
0025 #define CSR_CNT1 0x14
0026
0027
0028 #define CNT0_INT_MASK 0x01
0029 #define CNT1_INT_MASK 0x02
0030 #define ENUM_INT_MASK 0x04
0031 #define ALL_DIRECT_INTS_MASK 0x07
0032
0033
0034 #define HC_INT_MASK_REG 0x04
0035 #define HC_STATUS_REG 0x08
0036 #define HC_CMD_REG 0x0C
0037 #define ARB_CONFIG_GNT_REG 0x10
0038 #define ARB_CONFIG_CFG_REG 0x12
0039 #define ARB_CONFIG_REG 0x10
0040 #define ISOL_CONFIG_REG 0x18
0041 #define FAULT_STATUS_REG 0x20
0042 #define FAULT_CONFIG_REG 0x24
0043 #define WD_CONFIG_REG 0x2C
0044 #define HC_DIAG_REG 0x30
0045 #define SERIAL_COMM_REG 0x34
0046 #define SERIAL_OUT_REG 0x38
0047 #define SERIAL_IN_REG 0x3C
0048
0049
0050 #define SERIAL_INT_MASK 0x01
0051 #define FAULT_INT_MASK 0x02
0052 #define HCF_INT_MASK 0x04
0053 #define ALL_INDEXED_INTS_MASK 0x07
0054
0055
0056 #define ENUM_PORT 0xE1
0057
0058 #define ENUM_MASK 0x40
0059
0060 #endif