#ifndef _DEV_IC_IBM82660REG_H_
#define _DEV_IC_IBM82660REG_H_
#define IBM_82660_MEM_BANK0_START 0x80
#define IBM_82660_MEM_BANK1_START 0x81
#define IBM_82660_MEM_BANK2_START 0x82
#define IBM_82660_MEM_BANK3_START 0x83
#define IBM_82660_MEM_BANK4_START 0x84
#define IBM_82660_MEM_BANK5_START 0x85
#define IBM_82660_MEM_BANK6_START 0x86
#define IBM_82660_MEM_BANK7_START 0x87
#define IBM_82660_MEM_BANK0_EXTSTART 0x88
#define IBM_82660_MEM_BANK1_EXTSTART 0x89
#define IBM_82660_MEM_BANK2_EXTSTART 0x8A
#define IBM_82660_MEM_BANK3_EXTSTART 0x8B
#define IBM_82660_MEM_BANK4_EXTSTART 0x8C
#define IBM_82660_MEM_BANK5_EXTSTART 0x8D
#define IBM_82660_MEM_BANK6_EXTSTART 0x8E
#define IBM_82660_MEM_BANK7_EXTSTART 0x8F
#define IBM_82660_MEM_BANK0_END 0x90
#define IBM_82660_MEM_BANK1_END 0x91
#define IBM_82660_MEM_BANK2_END 0x92
#define IBM_82660_MEM_BANK3_END 0x93
#define IBM_82660_MEM_BANK4_END 0x94
#define IBM_82660_MEM_BANK5_END 0x95
#define IBM_82660_MEM_BANK6_END 0x96
#define IBM_82660_MEM_BANK7_END 0x97
#define IBM_82660_BANK0_ADDR(x) ((x) & 0xFF)
#define IBM_82660_BANK1_ADDR(x) (((x) & 0xFF00) >> 8)
#define IBM_82660_BANK2_ADDR(x) (((x) & 0xFF0000) >> 16)
#define IBM_82660_BANK3_ADDR(x) (((x) & 0xFF000000) >> 24)
#define IBM_82660_MEM_BANK0_EXTEND 0x98
#define IBM_82660_MEM_BANK1_EXTEND 0x99
#define IBM_82660_MEM_BANK2_EXTEND 0x9A
#define IBM_82660_MEM_BANK3_EXTEND 0x9B
#define IBM_82660_MEM_BANK4_EXTEND 0x9C
#define IBM_82660_MEM_BANK5_EXTEND 0x9D
#define IBM_82660_MEM_BANK6_EXTEND 0x9E
#define IBM_82660_MEM_BANK7_EXTEND 0x9F
#define IBM_82660_MEM_BANK_ENABLE 0xA0
#define IBM_82660_MEM_BANK0_ENABLED 0x01
#define IBM_82660_MEM_BANK1_ENABLED 0x02
#define IBM_82660_MEM_BANK2_ENABLED 0x04
#define IBM_82660_MEM_BANK3_ENABLED 0x08
#define IBM_82660_MEM_TIMING_1 0xA1
#define IBM_82660_MEM_TIMING_2 0xA2
#define IBM_82660_MEM_BANK01_ADDR_MODE 0xA4
#define IBM_82660_MEM_BANK23_ADDR_MODE 0xA5
#define IBM_82660_MEM_BANK45_ADDR_MODE 0xA6
#define IBM_82660_MEM_BANK67_ADDR_MODE 0xA7
#define IBM_82660_CACHE_STATUS 0xB1
#define IBM_82660_CACHE_STATUS_L1_EN 0x01
#define IBM_82660_CACHE_STATUS_L2_EN 0x02
#define IBM_82660_RAS_WATCHDOG_TIMER 0xB6
#define IBM_82660_SINGLEBIT_ERR_CNTR 0xB8
#define IBM_82660_SINGLEBIT_ERR_LEVEL 0xB9
#define IBM_82660_OPTIONS_1 0xBA
#define IBM_82660_OPTIONS_1_MCP 0x01
#define IBM_82660_OPTIONS_1_TEA 0x02
#define IBM_82660_OPTIONS_1_ISA 0x04
#define IBM_82660_OPTIONS_2 0xBB
#define IBM_82660_ERR_ENABLE_1 0xC0
#define IBM_82660_ERR_STATUS_1 0xC1
#define IBM_82660_CPU_ERR_STATUS 0xC3
#define IBM_82660_ERR_ENABLE_2 0xC4
#define IBM_82660_ERR_STATUS_2 0xC5
#define IBM_82660_PCI_ERR_STATUS 0xC7
#define IBM_82660_OPTIONS_3 0xD4
#define IBM_82660_OPTIONS_3_ECC 0x01
#define IBM_82660_OPTIONS_3_DRAM 0x04
#define IBM_82660_OPTIONS_3_SRAM 0x08
#define IBM_82660_OPTIONS_3_SNOOP 0x80
#define IBM_82660_SYSTEM_CTRL 0x81C
#define IBM_82660_SYSTEM_CTRL_L2_EN 0x40
#define IBM_82660_SYSTEM_CTRL_L2_MI 0x80
#endif