require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&SLI_PCI_BAR_SLIM)) {
    sub SLI_PCI_BAR_SLIM () {	0x10;}
}
unless(defined(&SLI_PCI_BAR_REGISTER)) {
    sub SLI_PCI_BAR_REGISTER () {	0x18;}
}
unless(defined(&SLI_PCI_BAR_BIU)) {
    sub SLI_PCI_BAR_BIU () {	0x20;}
}
unless(defined(&SLI_PCI_BAR_REGISTER_IO)) {
    sub SLI_PCI_BAR_REGISTER_IO () {	0x24;}
}
unless(defined(&SLI_REG_HA)) {
    sub SLI_REG_HA () {	0x;}
}
unless(defined(&SLI_REG_HA_ERATT)) {
    sub SLI_REG_HA_ERATT () {	(1<<31);}
}
unless(defined(&SLI_REG_HA_MBATT)) {
    sub SLI_REG_HA_MBATT () {	(1<<30);}
}
unless(defined(&SLI_REG_HA_LATT)) {
    sub SLI_REG_HA_LATT () {	(1<<29);}
}
unless(defined(&SLI_REG_HA_R3ATT)) {
    sub SLI_REG_HA_R3ATT () {	(1<<15);}
}
unless(defined(&SLI_REG_HA_R3CE_RSP)) {
    sub SLI_REG_HA_R3CE_RSP () {	(1<<13);}
}
unless(defined(&SLI_REG_HA_R3RE_REQ)) {
    sub SLI_REG_HA_R3RE_REQ () {	(1<<12);}
}
unless(defined(&SLI_REG_HA_R2ATT)) {
    sub SLI_REG_HA_R2ATT () {	(1<<11);}
}
unless(defined(&SLI_REG_HA_R2CE_RSP)) {
    sub SLI_REG_HA_R2CE_RSP () {	(1<<9);}
}
unless(defined(&SLI_REG_HA_R2RE_REQ)) {
    sub SLI_REG_HA_R2RE_REQ () {	(1<<8);}
}
unless(defined(&SLI_REG_HA_R1ATT)) {
    sub SLI_REG_HA_R1ATT () {	(1<<7);}
}
unless(defined(&SLI_REG_HA_R1CE_RSP)) {
    sub SLI_REG_HA_R1CE_RSP () {	(1<<5);}
}
unless(defined(&SLI_REG_HA_R1RE_REQ)) {
    sub SLI_REG_HA_R1RE_REQ () {	(1<<4);}
}
unless(defined(&SLI_REG_HA_R0ATT)) {
    sub SLI_REG_HA_R0ATT () {	(1<<3);}
}
unless(defined(&SLI_REG_HA_R0CE_RSP)) {
    sub SLI_REG_HA_R0CE_RSP () {	(1<<1);}
}
unless(defined(&SLI_REG_HA_R0RE_REQ)) {
    sub SLI_REG_HA_R0RE_REQ () {	(1<<0);}
}
unless(defined(&SLI_FMT_HA)) {
    sub SLI_FMT_HA () {	"\020" "\040ERATT" "\037MBATT" "\036LATT" "\020R3ATT" "\016R3CE_RSP" "\015R3RE_REQ" "\014R3ATT" "\012R3CE_RSP" "\011R3RE_REQ" "\010R3ATT" "\006R3CE_RSP" "\005R3RE_REQ" "\040R3ATT" "\002R3CE_RSP" "\001R3RE_REQ";}
}
unless(defined(&SLI_REG_CA)) {
    sub SLI_REG_CA () {	0x4;}
}
unless(defined(&SLI_REG_CA_MBATT)) {
    sub SLI_REG_CA_MBATT () {	(1<<30);}
}
unless(defined(&SLI_REG_CA_R3ATT)) {
    sub SLI_REG_CA_R3ATT () {	(1<<15);}
}
unless(defined(&SLI_REG_CA_R3RE_RSP)) {
    sub SLI_REG_CA_R3RE_RSP () {	(1<<13);}
}
unless(defined(&SLI_REG_CA_R3CE_REQ)) {
    sub SLI_REG_CA_R3CE_REQ () {	(1<<12);}
}
unless(defined(&SLI_REG_CA_R2ATT)) {
    sub SLI_REG_CA_R2ATT () {	(1<<11);}
}
unless(defined(&SLI_REG_CA_R2RE_RSP)) {
    sub SLI_REG_CA_R2RE_RSP () {	(1<<9);}
}
unless(defined(&SLI_REG_CA_R2CE_REQ)) {
    sub SLI_REG_CA_R2CE_REQ () {	(1<<8);}
}
unless(defined(&SLI_REG_CA_R1ATT)) {
    sub SLI_REG_CA_R1ATT () {	(1<<7);}
}
unless(defined(&SLI_REG_CA_R1RE_RSP)) {
    sub SLI_REG_CA_R1RE_RSP () {	(1<<5);}
}
unless(defined(&SLI_REG_CA_R1CE_REQ)) {
    sub SLI_REG_CA_R1CE_REQ () {	(1<<4);}
}
unless(defined(&SLI_REG_CA_R0ATT)) {
    sub SLI_REG_CA_R0ATT () {	(1<<3);}
}
unless(defined(&SLI_REG_CA_R0RE_RSP)) {
    sub SLI_REG_CA_R0RE_RSP () {	(1<<1);}
}
unless(defined(&SLI_REG_CA_R0CE_REQ)) {
    sub SLI_REG_CA_R0CE_REQ () {	(1<<0);}
}
unless(defined(&SLI_FMT_CA)) {
    sub SLI_FMT_CA () {	"\020" "\037MBATT" "\020R3ATT" "\016R3RE_RSP" "\015R3CE_REQ" "\014R3ATT" "\012R3RE_RSP" "\011R3CE_REQ" "\010R3ATT" "\006R3RE_RSP" "\005R3CE_REQ" "\040R3ATT" "\002R3RE_RSP" "\001R3CE_REQ";}
}
unless(defined(&SLI_REG_HS)) {
    sub SLI_REG_HS () {	0x8;}
}
unless(defined(&SLI_REG_HS_FFER_MASK)) {
    sub SLI_REG_HS_FFER_MASK () {	(0xff000000);}
}
unless(defined(&SLI_REG_HS_FF1)) {
    sub SLI_REG_HS_FF1 () {	(1<<31);}
}
unless(defined(&SLI_REG_HS_FF2)) {
    sub SLI_REG_HS_FF2 () {	(1<<30);}
}
unless(defined(&SLI_REG_HS_FF3)) {
    sub SLI_REG_HS_FF3 () {	(1<<29);}
}
unless(defined(&SLI_REG_HS_FF4)) {
    sub SLI_REG_HS_FF4 () {	(1<<28);}
}
unless(defined(&SLI_REG_HS_FF5)) {
    sub SLI_REG_HS_FF5 () {	(1<<27);}
}
unless(defined(&SLI_REG_HS_FF6)) {
    sub SLI_REG_HS_FF6 () {	(1<<26);}
}
unless(defined(&SLI_REG_HS_FF7)) {
    sub SLI_REG_HS_FF7 () {	(1<<25);}
}
unless(defined(&SLI_REG_HS_FF8)) {
    sub SLI_REG_HS_FF8 () {	(1<<24);}
}
unless(defined(&SLI_REG_HS_FFRDY)) {
    sub SLI_REG_HS_FFRDY () {	(1<<23);}
}
unless(defined(&SLI_REG_HS_MBRDY)) {
    sub SLI_REG_HS_MBRDY () {	(1<<22);}
}
unless(defined(&SLI_FMT_HS)) {
    sub SLI_FMT_HS () {	"\020" "\040FF1" "\037FF2" "\036FF3" "\035FF4" "\034FF5" "\033FF6" "\032FF7" "\031FF8" "\030FFRDY" "\027MBRDY";}
}
unless(defined(&SLI_REG_HC)) {
    sub SLI_REG_HC () {	0xc;}
}
unless(defined(&SLI_REG_HC_ERINT)) {
    sub SLI_REG_HC_ERINT () {	(1<<31);}
}
unless(defined(&SLI_REG_HC_LAINT)) {
    sub SLI_REG_HC_LAINT () {	(1<<29);}
}
unless(defined(&SLI_REG_HC_INITFF)) {
    sub SLI_REG_HC_INITFF () {	(1<<27);}
}
unless(defined(&SLI_REG_HC_INITMB)) {
    sub SLI_REG_HC_INITMB () {	(1<<26);}
}
unless(defined(&SLI_REG_HC_INITHBI)) {
    sub SLI_REG_HC_INITHBI () {	(1<<25);}
}
unless(defined(&SLI_REG_HC_R3INT)) {
    sub SLI_REG_HC_R3INT () {	(1<<4);}
}
unless(defined(&SLI_REG_HC_R2INT)) {
    sub SLI_REG_HC_R2INT () {	(1<<3);}
}
unless(defined(&SLI_REG_HC_R1INT)) {
    sub SLI_REG_HC_R1INT () {	(1<<2);}
}
unless(defined(&SLI_REG_HC_R0INT)) {
    sub SLI_REG_HC_R0INT () {	(1<<1);}
}
unless(defined(&SLI_REG_HC_MBINT)) {
    sub SLI_REG_HC_MBINT () {	(1<<0);}
}
unless(defined(&SLI_FMT_HC)) {
    sub SLI_FMT_HC () {	"\020" "\040ERINT" "\036LAINT" "\035INITFF" "\034INITMB" "\033INITHBI" "\005R3INT" "\004R2INT" "\003R1INT" "\002R0INT" "\001MBINT";}
}
unless(defined(&SLI_CMD_SHUTDOWN)) {
    sub SLI_CMD_SHUTDOWN () {	0x;}
}
unless(defined(&SLI_CMD_LOAD_SM)) {
    sub SLI_CMD_LOAD_SM () {	0x1;}
}
unless(defined(&SLI_CMD_READ_NV)) {
    sub SLI_CMD_READ_NV () {	0x2;}
}
unless(defined(&SLI_CMD_WRITE_NV)) {
    sub SLI_CMD_WRITE_NV () {	0x3;}
}
unless(defined(&SLI_CMD_RUN_BIU_DIAG)) {
    sub SLI_CMD_RUN_BIU_DIAG () {	0x4;}
}
unless(defined(&SLI_CMD_INIT_LINK)) {
    sub SLI_CMD_INIT_LINK () {	0x5;}
}
unless(defined(&SLI_CMD_DOWN_LINK)) {
    sub SLI_CMD_DOWN_LINK () {	0x6;}
}
unless(defined(&SLI_CMD_CONFIG_LINK)) {
    sub SLI_CMD_CONFIG_LINK () {	0x7;}
}
unless(defined(&SLI_CMD_CONFIG_RING)) {
    sub SLI_CMD_CONFIG_RING () {	0x9;}
}
unless(defined(&SLI_CMD_RESET_RING)) {
    sub SLI_CMD_RESET_RING () {	0xa;}
}
unless(defined(&SLI_CMD_READ_CONFIG)) {
    sub SLI_CMD_READ_CONFIG () {	0xb;}
}
unless(defined(&SLI_CMD_READ_RCONFIG)) {
    sub SLI_CMD_READ_RCONFIG () {	0xc;}
}
unless(defined(&SLI_CMD_READ_SPARM)) {
    sub SLI_CMD_READ_SPARM () {	0xd;}
}
unless(defined(&SLI_CMD_READ_STATUS)) {
    sub SLI_CMD_READ_STATUS () {	0xe;}
}
unless(defined(&SLI_CMD_READ_RPI)) {
    sub SLI_CMD_READ_RPI () {	0xf;}
}
unless(defined(&SLI_CMD_READ_XRI)) {
    sub SLI_CMD_READ_XRI () {	0x10;}
}
unless(defined(&SLI_CMD_READ_REV)) {
    sub SLI_CMD_READ_REV () {	0x11;}
}
unless(defined(&SLI_CMD_READ_LNK_STAT)) {
    sub SLI_CMD_READ_LNK_STAT () {	0x12;}
}
unless(defined(&SLI_CMD_REG_LOGIN)) {
    sub SLI_CMD_REG_LOGIN () {	0x13;}
}
unless(defined(&SLI_CMD_UNREG_LOGIN)) {
    sub SLI_CMD_UNREG_LOGIN () {	0x14;}
}
unless(defined(&SLI_CMD_READ_LA)) {
    sub SLI_CMD_READ_LA () {	0x15;}
}
unless(defined(&SLI_CMD_CLEAR_LA)) {
    sub SLI_CMD_CLEAR_LA () {	0x16;}
}
unless(defined(&SLI_CMD_DUMP_MEMORY)) {
    sub SLI_CMD_DUMP_MEMORY () {	0x17;}
}
unless(defined(&SLI_CMD_DUMP_CONTEXT)) {
    sub SLI_CMD_DUMP_CONTEXT () {	0x18;}
}
unless(defined(&SLI_CMD_RUN_DIAGS)) {
    sub SLI_CMD_RUN_DIAGS () {	0x19;}
}
unless(defined(&SLI_CMD_RESTART)) {
    sub SLI_CMD_RESTART () {	0x1a;}
}
unless(defined(&SLI_CMD_UPDATE_CFG)) {
    sub SLI_CMD_UPDATE_CFG () {	0x1b;}
}
unless(defined(&SLI_CMD_DOWN_LOAD)) {
    sub SLI_CMD_DOWN_LOAD () {	0x1c;}
}
unless(defined(&SLI_CMD_DEL_LD_ENTRY)) {
    sub SLI_CMD_DEL_LD_ENTRY () {	0x1d;}
}
unless(defined(&SLI_CMD_RUN_PROGRAM)) {
    sub SLI_CMD_RUN_PROGRAM () {	0x1e;}
}
unless(defined(&SLI_CMD_SET_MASK)) {
    sub SLI_CMD_SET_MASK () {	0x20;}
}
unless(defined(&SLI_CMD_SEL_SLIM)) {
    sub SLI_CMD_SEL_SLIM () {	0x21;}
}
unless(defined(&SLI_CMD_UNREG_D_ID)) {
    sub SLI_CMD_UNREG_D_ID () {	0x23;}
}
unless(defined(&SLI_CMD_KILL_BOARD)) {
    sub SLI_CMD_KILL_BOARD () {	0x24;}
}
unless(defined(&SLI_CMD_CONFIG_FARP)) {
    sub SLI_CMD_CONFIG_FARP () {	0x25;}
}
unless(defined(&SLI_CMD_LOAD_AREA)) {
    sub SLI_CMD_LOAD_AREA () {	0x81;}
}
unless(defined(&SLI_CMD_RUN_BIU_DIAG64)) {
    sub SLI_CMD_RUN_BIU_DIAG64 () {	0x84;}
}
unless(defined(&SLI_CMD_CONFIG_PORT)) {
    sub SLI_CMD_CONFIG_PORT () {	0x88;}
}
unless(defined(&SLI_CMD_READ_SPARM64)) {
    sub SLI_CMD_READ_SPARM64 () {	0x8d;}
}
unless(defined(&SLI_CMD_READ_RPI64)) {
    sub SLI_CMD_READ_RPI64 () {	0x8f;}
}
unless(defined(&SLI_CMD_REG_LOGIN64)) {
    sub SLI_CMD_REG_LOGIN64 () {	0x93;}
}
unless(defined(&SLI_CMD_READ_LA64)) {
    sub SLI_CMD_READ_LA64 () {	0x95;}
}
unless(defined(&SLI_CMD_FLAGS_WR_ULA)) {
    sub SLI_CMD_FLAGS_WR_ULA () {	0x98;}
}
unless(defined(&SLI_CMD_FLSET_DEBUG)) {
    sub SLI_CMD_FLSET_DEBUG () {	0x99;}
}
unless(defined(&SLI_CMD_LOAD_EXP_ROM)) {
    sub SLI_CMD_LOAD_EXP_ROM () {	0x9c;}
}
unless(defined(&SLI_CMD_MAX_CMDS)) {
    sub SLI_CMD_MAX_CMDS () {	0x9d;}
}
1;
