require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&LII_SFC)) {
    sub LII_SFC () {	0x200;}
}
unless(defined(&SFC_STS_NON_RDY)) {
    sub SFC_STS_NON_RDY () {	0x1;}
}
unless(defined(&SFC_STS_WEN)) {
    sub SFC_STS_WEN () {	0x2;}
}
unless(defined(&SFC_STS_WPEN)) {
    sub SFC_STS_WPEN () {	0x80;}
}
unless(defined(&SFC_DEV_STS_MASK)) {
    sub SFC_DEV_STS_MASK () {	0xff;}
}
unless(defined(&SFC_DEV_STS_SHIFT)) {
    sub SFC_DEV_STS_SHIFT () {	0;}
}
unless(defined(&SFC_INS_MASK)) {
    sub SFC_INS_MASK () {	0x7;}
}
unless(defined(&SFC_INS_SHIFT)) {
    sub SFC_INS_SHIFT () {	8;}
}
unless(defined(&SFC_START)) {
    sub SFC_START () {	0x800;}
}
unless(defined(&SFC_EN_VPD)) {
    sub SFC_EN_VPD () {	0x2000;}
}
unless(defined(&SFC_LDSTART)) {
    sub SFC_LDSTART () {	0x8000;}
}
unless(defined(&SFC_CS_HI_MASK)) {
    sub SFC_CS_HI_MASK () {	0x3;}
}
unless(defined(&SFC_CS_HI_SHIFT)) {
    sub SFC_CS_HI_SHIFT () {	16;}
}
unless(defined(&SFC_CS_HOLD_MASK)) {
    sub SFC_CS_HOLD_MASK () {	0x3;}
}
unless(defined(&SFC_CS_HOLD_SHIFT)) {
    sub SFC_CS_HOLD_SHIFT () {	18;}
}
unless(defined(&SFC_CLK_LO_MASK)) {
    sub SFC_CLK_LO_MASK () {	0x3;}
}
unless(defined(&SFC_CLK_LO_SHIFT)) {
    sub SFC_CLK_LO_SHIFT () {	20;}
}
unless(defined(&SFC_CLK_HI_MASK)) {
    sub SFC_CLK_HI_MASK () {	0x3;}
}
unless(defined(&SFC_CLK_HI_SHIFT)) {
    sub SFC_CLK_HI_SHIFT () {	22;}
}
unless(defined(&SFC_CS_SETUP_MASK)) {
    sub SFC_CS_SETUP_MASK () {	0x3;}
}
unless(defined(&SFC_CS_SETUP_SHIFT)) {
    sub SFC_CS_SETUP_SHIFT () {	24;}
}
unless(defined(&SFC_EROMPGSZ_MASK)) {
    sub SFC_EROMPGSZ_MASK () {	0x3;}
}
unless(defined(&SFC_EROMPGSZ_SHIFT)) {
    sub SFC_EROMPGSZ_SHIFT () {	26;}
}
unless(defined(&SFC_WAIT_READY)) {
    sub SFC_WAIT_READY () {	0x10000000;}
}
unless(defined(&LII_SF_ADDR)) {
    sub LII_SF_ADDR () {	0x204;}
}
unless(defined(&LII_SF_DATA)) {
    sub LII_SF_DATA () {	0x208;}
}
unless(defined(&LII_SFCF)) {
    sub LII_SFCF () {	0x20c;}
}
unless(defined(&SFCF_LD_ADDR_MASK)) {
    sub SFCF_LD_ADDR_MASK () {	0xffffff;}
}
unless(defined(&SFCF_LD_ADDR_SHIFT)) {
    sub SFCF_LD_ADDR_SHIFT () {	0;}
}
unless(defined(&SFCF_VPD_ADDR_MASK)) {
    sub SFCF_VPD_ADDR_MASK () {	0x3;}
}
unless(defined(&SFCF_VPD_ADDR_SHIFT)) {
    sub SFCF_VPD_ADDR_SHIFT () {	24;}
}
unless(defined(&SFCF_LD_EXISTS)) {
    sub SFCF_LD_EXISTS () {	0x4000000;}
}
unless(defined(&LII_SFOP_PROGRAM)) {
    sub LII_SFOP_PROGRAM () {	0x210;}
}
unless(defined(&LII_SFOP_SC_ERASE)) {
    sub LII_SFOP_SC_ERASE () {	0x211;}
}
unless(defined(&LII_SFOP_CHIP_ERASE)) {
    sub LII_SFOP_CHIP_ERASE () {	0x212;}
}
unless(defined(&LII_SFOP_RDID)) {
    sub LII_SFOP_RDID () {	0x213;}
}
unless(defined(&LII_SFOP_WREN)) {
    sub LII_SFOP_WREN () {	0x214;}
}
unless(defined(&LII_SFOP_RDSR)) {
    sub LII_SFOP_RDSR () {	0x215;}
}
unless(defined(&LII_SFOP_WRSR)) {
    sub LII_SFOP_WRSR () {	0x216;}
}
unless(defined(&LII_SFOP_READ)) {
    sub LII_SFOP_READ () {	0x217;}
}
unless(defined(&LII_TWSIC)) {
    sub LII_TWSIC () {	0x218;}
}
unless(defined(&TWSIC_LD_OFFSET_MASK)) {
    sub TWSIC_LD_OFFSET_MASK () {	0xff;}
}
unless(defined(&TWSIC_LD_OFFSET_SHIFT)) {
    sub TWSIC_LD_OFFSET_SHIFT () {	0;}
}
unless(defined(&TWSIC_LD_SLV_ADDR_MASK)) {
    sub TWSIC_LD_SLV_ADDR_MASK () {	0x7;}
}
unless(defined(&TWSIC_LD_SLV_ADDR_SHIFT)) {
    sub TWSIC_LD_SLV_ADDR_SHIFT () {	8;}
}
unless(defined(&TWSIC_SW_LDSTART)) {
    sub TWSIC_SW_LDSTART () {	0x800;}
}
unless(defined(&TWSIC_HW_LDSTART)) {
    sub TWSIC_HW_LDSTART () {	0x1000;}
}
unless(defined(&TWSIC_SMB_SLV_ADDR_MASK)) {
    sub TWSIC_SMB_SLV_ADDR_MASK () {	0x7f;}
}
unless(defined(&TWSIC_SMB_SLV_ADDR_SHIFT)) {
    sub TWSIC_SMB_SLV_ADDR_SHIFT () {	15;}
}
unless(defined(&TWSIC_LD_EXIST)) {
    sub TWSIC_LD_EXIST () {	0x400000;}
}
unless(defined(&TWSIC_READ_FREQ_SEL_MASK)) {
    sub TWSIC_READ_FREQ_SEL_MASK () {	0x3;}
}
unless(defined(&TWSIC_READ_FREQ_SEL_SHIFT)) {
    sub TWSIC_READ_FREQ_SEL_SHIFT () {	23;}
}
unless(defined(&TWSIC_FREQ_SEL_100K)) {
    sub TWSIC_FREQ_SEL_100K () {	0;}
}
unless(defined(&TWSIC_FREQ_SEL_200K)) {
    sub TWSIC_FREQ_SEL_200K () {	1;}
}
unless(defined(&TWSIC_FREQ_SEL_300K)) {
    sub TWSIC_FREQ_SEL_300K () {	2;}
}
unless(defined(&TWSIC_FREQ_SEL_400K)) {
    sub TWSIC_FREQ_SEL_400K () {	3;}
}
unless(defined(&TWSIC_WRITE_FREQ_SEL_MASK)) {
    sub TWSIC_WRITE_FREQ_SEL_MASK () {	0x3;}
}
unless(defined(&TWSIC_WRITE_FREQ_SEL_SHIFT)) {
    sub TWSIC_WRITE_FREQ_SEL_SHIFT () {	24;}
}
unless(defined(&LII_PCEDMC)) {
    sub LII_PCEDMC () {	0x21c;}
}
unless(defined(&PCEDMC_RETRY_BUFDIS)) {
    sub PCEDMC_RETRY_BUFDIS () {	0x1;}
}
unless(defined(&PCEDMC_EXT_PIPE)) {
    sub PCEDMC_EXT_PIPE () {	0x2;}
}
unless(defined(&PCEDMC_SPIROM_EXISTS)) {
    sub PCEDMC_SPIROM_EXISTS () {	0x4;}
}
unless(defined(&PCEDMC_SERDES_ENDIAN)) {
    sub PCEDMC_SERDES_ENDIAN () {	0x8;}
}
unless(defined(&PCEDMC_SERDES_SEL_DIN)) {
    sub PCEDMC_SERDES_SEL_DIN () {	0x10;}
}
unless(defined(&LII_PCEPM)) {
    sub LII_PCEPM () {	0x1000;}
}
unless(defined(&PCEPM_FORCE_RCV_DET)) {
    sub PCEPM_FORCE_RCV_DET () {	0x4;}
}
unless(defined(&LII_SMC)) {
    sub LII_SMC () {	0x1400;}
}
unless(defined(&SMC_SOFT_RST)) {
    sub SMC_SOFT_RST () {	0x1;}
}
unless(defined(&SMC_MTIMER_EN)) {
    sub SMC_MTIMER_EN () {	0x2;}
}
unless(defined(&SMC_ITIMER_EN)) {
    sub SMC_ITIMER_EN () {	0x4;}
}
unless(defined(&SMC_MANUAL_INT)) {
    sub SMC_MANUAL_INT () {	0x8;}
}
unless(defined(&SMC_REV_NUM_MASK)) {
    sub SMC_REV_NUM_MASK () {	0xff;}
}
unless(defined(&SMC_REV_NUM_SHIFT)) {
    sub SMC_REV_NUM_SHIFT () {	16;}
}
unless(defined(&SMC_DEV_ID_MASK)) {
    sub SMC_DEV_ID_MASK () {	0xff;}
}
unless(defined(&SMC_DEV_ID_SHIFT)) {
    sub SMC_DEV_ID_SHIFT () {	24;}
}
unless(defined(&LII_TIV)) {
    sub LII_TIV () {	0x1404;}
}
unless(defined(&LII_IMTIV)) {
    sub LII_IMTIV () {	0x1408;}
}
unless(defined(&LII_PHYC)) {
    sub LII_PHYC () {	0x140c;}
}
unless(defined(&PHYC_ENABLE)) {
    sub PHYC_ENABLE () {	0x1;}
}
unless(defined(&LII_IALTIV)) {
    sub LII_IALTIV () {	0x140e;}
}
unless(defined(&LII_BIS)) {
    sub LII_BIS () {	0x1410;}
}
unless(defined(&BIS_RXMAC)) {
    sub BIS_RXMAC () {	0x1;}
}
unless(defined(&BIS_TXMAC)) {
    sub BIS_TXMAC () {	0x2;}
}
unless(defined(&BIS_DMAR)) {
    sub BIS_DMAR () {	0x4;}
}
unless(defined(&BIS_DMAW)) {
    sub BIS_DMAW () {	0x8;}
}
unless(defined(&LII_MDIOC)) {
    sub LII_MDIOC () {	0x1414;}
}
unless(defined(&MDIOC_DATA_MASK)) {
    sub MDIOC_DATA_MASK () {	0xffff;}
}
unless(defined(&MDIOC_DATA_SHIFT)) {
    sub MDIOC_DATA_SHIFT () {	0;}
}
unless(defined(&MDIOC_REG_MASK)) {
    sub MDIOC_REG_MASK () {	0x1f;}
}
unless(defined(&MDIOC_REG_SHIFT)) {
    sub MDIOC_REG_SHIFT () {	16;}
}
unless(defined(&MDIOC_WRITE)) {
    sub MDIOC_WRITE () {	0x;}
}
unless(defined(&MDIOC_READ)) {
    sub MDIOC_READ () {	0x200000;}
}
unless(defined(&MDIOC_SUP_PREAMBLE)) {
    sub MDIOC_SUP_PREAMBLE () {	0x400000;}
}
unless(defined(&MDIOC_START)) {
    sub MDIOC_START () {	0x800000;}
}
unless(defined(&MDIOC_CLK_SEL_MASK)) {
    sub MDIOC_CLK_SEL_MASK () {	0x7;}
}
unless(defined(&MDIOC_CLK_SEL_SHIFT)) {
    sub MDIOC_CLK_SEL_SHIFT () {	24;}
}
unless(defined(&MDIOC_CLK_25_4)) {
    sub MDIOC_CLK_25_4 () {	0;}
}
unless(defined(&MDIOC_CLK_25_6)) {
    sub MDIOC_CLK_25_6 () {	2;}
}
unless(defined(&MDIOC_CLK_25_8)) {
    sub MDIOC_CLK_25_8 () {	3;}
}
unless(defined(&MDIOC_CLK_25_10)) {
    sub MDIOC_CLK_25_10 () {	4;}
}
unless(defined(&MDIOC_CLK_25_14)) {
    sub MDIOC_CLK_25_14 () {	5;}
}
unless(defined(&MDIOC_CLK_25_20)) {
    sub MDIOC_CLK_25_20 () {	6;}
}
unless(defined(&MDIOC_CLK_25_28)) {
    sub MDIOC_CLK_25_28 () {	7;}
}
unless(defined(&MDIOC_BUSY)) {
    sub MDIOC_BUSY () {	0x8000000;}
}
unless(defined(&MDIO_WAIT_TIMES)) {
    sub MDIO_WAIT_TIMES () {	10;}
}
unless(defined(&LII_SERDES)) {
    sub LII_SERDES () {	0x1424;}
}
unless(defined(&SERDES_LOCK_DETECT)) {
    sub SERDES_LOCK_DETECT () {	0x1;}
}
unless(defined(&SERDES_LOCK_DETECT_EN)) {
    sub SERDES_LOCK_DETECT_EN () {	0x2;}
}
unless(defined(&LII_MACC)) {
    sub LII_MACC () {	0x1480;}
}
unless(defined(&MACC_TX_EN)) {
    sub MACC_TX_EN () {	0x1;}
}
unless(defined(&MACC_RX_EN)) {
    sub MACC_RX_EN () {	0x2;}
}
unless(defined(&MACC_TX_FLOW_EN)) {
    sub MACC_TX_FLOW_EN () {	0x4;}
}
unless(defined(&MACC_RX_FLOW_EN)) {
    sub MACC_RX_FLOW_EN () {	0x8;}
}
unless(defined(&MACC_LOOPBACK)) {
    sub MACC_LOOPBACK () {	0x10;}
}
unless(defined(&MACC_FDX)) {
    sub MACC_FDX () {	0x20;}
}
unless(defined(&MACC_ADD_CRC)) {
    sub MACC_ADD_CRC () {	0x40;}
}
unless(defined(&MACC_PAD)) {
    sub MACC_PAD () {	0x80;}
}
unless(defined(&MACC_PREAMBLE_LEN_MASK)) {
    sub MACC_PREAMBLE_LEN_MASK () {	0xf;}
}
unless(defined(&MACC_PREAMBLE_LEN_SHIFT)) {
    sub MACC_PREAMBLE_LEN_SHIFT () {	10;}
}
unless(defined(&MACC_STRIP_VLAN)) {
    sub MACC_STRIP_VLAN () {	0x4000;}
}
unless(defined(&MACC_PROMISC_EN)) {
    sub MACC_PROMISC_EN () {	0x8000;}
}
unless(defined(&MACC_DBG_TX_BKPRESSURE)) {
    sub MACC_DBG_TX_BKPRESSURE () {	0x100000;}
}
unless(defined(&MACC_ALLMULTI_EN)) {
    sub MACC_ALLMULTI_EN () {	0x2000000;}
}
unless(defined(&MACC_BCAST_EN)) {
    sub MACC_BCAST_EN () {	0x4000000;}
}
unless(defined(&MACC_MACLP_CLK_PHY)) {
    sub MACC_MACLP_CLK_PHY () {	0x8000000;}
}
unless(defined(&MACC_HDX_LEFT_BUF_MASK)) {
    sub MACC_HDX_LEFT_BUF_MASK () {	0xf;}
}
unless(defined(&MACC_HDX_LEFT_BUF_SHIFT)) {
    sub MACC_HDX_LEFT_BUF_SHIFT () {	28;}
}
unless(defined(&LII_MIPFG)) {
    sub LII_MIPFG () {	0x1484;}
}
unless(defined(&MIPFG_IPGT_MASK)) {
    sub MIPFG_IPGT_MASK () {	0x7f;}
}
unless(defined(&MIPFG_IPGT_SHIFT)) {
    sub MIPFG_IPGT_SHIFT () {	0;}
}
unless(defined(&MIPFG_MIFG_MASK)) {
    sub MIPFG_MIFG_MASK () {	0xff;}
}
unless(defined(&MIPFG_MIFG_SHIFT)) {
    sub MIPFG_MIFG_SHIFT () {	8;}
}
unless(defined(&MIPFG_IPGR1_MASK)) {
    sub MIPFG_IPGR1_MASK () {	0x7f;}
}
unless(defined(&MIPFG_IPGR1_SHIFT)) {
    sub MIPFG_IPGR1_SHIFT () {	16;}
}
unless(defined(&MIPFG_IPGR2_MASK)) {
    sub MIPFG_IPGR2_MASK () {	0x7f;}
}
unless(defined(&MIPFG_IPGR2_SHIFT)) {
    sub MIPFG_IPGR2_SHIFT () {	24;}
}
unless(defined(&LII_MAC_ADDR_0)) {
    sub LII_MAC_ADDR_0 () {	0x1488;}
}
unless(defined(&LII_MAC_ADDR_1)) {
    sub LII_MAC_ADDR_1 () {	0x148c;}
}
unless(defined(&LII_MHT)) {
    sub LII_MHT () {	0x1490;}
}
unless(defined(&LII_MHDC)) {
    sub LII_MHDC () {	0x1498;}
}
unless(defined(&MHDC_LCOL_MASK)) {
    sub MHDC_LCOL_MASK () {	0x3ff;}
}
unless(defined(&MHDC_LCOL_SHIFT)) {
    sub MHDC_LCOL_SHIFT () {	0;}
}
unless(defined(&MHDC_RETRY_MASK)) {
    sub MHDC_RETRY_MASK () {	0xf;}
}
unless(defined(&MHDC_RETRY_SHIFT)) {
    sub MHDC_RETRY_SHIFT () {	12;}
}
unless(defined(&MHDC_EXC_DEF_EN)) {
    sub MHDC_EXC_DEF_EN () {	0x10000;}
}
unless(defined(&MHDC_NO_BACK_C)) {
    sub MHDC_NO_BACK_C () {	0x20000;}
}
unless(defined(&MHDC_NO_BACK_P)) {
    sub MHDC_NO_BACK_P () {	0x40000;}
}
unless(defined(&MHDC_ABEDE)) {
    sub MHDC_ABEDE () {	0x80000;}
}
unless(defined(&MHDC_ABEBT_MASK)) {
    sub MHDC_ABEBT_MASK () {	0xf;}
}
unless(defined(&MHDC_ABEBT_SHIFT)) {
    sub MHDC_ABEBT_SHIFT () {	20;}
}
unless(defined(&MHDC_JAMIPG_MASK)) {
    sub MHDC_JAMIPG_MASK () {	0xf;}
}
unless(defined(&MHDC_JAMIPG_SHIFT)) {
    sub MHDC_JAMIPG_SHIFT () {	24;}
}
unless(defined(&LII_MTU)) {
    sub LII_MTU () {	0x149c;}
}
unless(defined(&LII_WOLC)) {
    sub LII_WOLC () {	1;}
}
unless(defined(&WOLC_PATTERN_EN)) {
    sub WOLC_PATTERN_EN () {	0x1;}
}
unless(defined(&WOLC_PATTERN_PME_EN)) {
    sub WOLC_PATTERN_PME_EN () {	0x2;}
}
unless(defined(&WOLC_MAGIC_EN)) {
    sub WOLC_MAGIC_EN () {	0x4;}
}
unless(defined(&WOLC_MAGIC_PME_EN)) {
    sub WOLC_MAGIC_PME_EN () {	0x8;}
}
unless(defined(&WOLC_LINK_CHG_EN)) {
    sub WOLC_LINK_CHG_EN () {	0x10;}
}
unless(defined(&WOLC_LINK_CHG_PME_EN)) {
    sub WOLC_LINK_CHG_PME_EN () {	0x20;}
}
unless(defined(&WOLC_PATTERN_ST)) {
    sub WOLC_PATTERN_ST () {	0x100;}
}
unless(defined(&WOLC_MAGIC_ST)) {
    sub WOLC_MAGIC_ST () {	0x200;}
}
unless(defined(&WOLC_LINK_CHG_ST)) {
    sub WOLC_LINK_CHG_ST () {	0x400;}
}
unless(defined(&WOLC_PT0_EN)) {
    sub WOLC_PT0_EN () {	0x10000;}
}
unless(defined(&WOLC_PT1_EN)) {
    sub WOLC_PT1_EN () {	0x20000;}
}
unless(defined(&WOLC_PT2_EN)) {
    sub WOLC_PT2_EN () {	0x40000;}
}
unless(defined(&WOLC_PT3_EN)) {
    sub WOLC_PT3_EN () {	0x80000;}
}
unless(defined(&WOLC_PT4_EN)) {
    sub WOLC_PT4_EN () {	0x100000;}
}
unless(defined(&WOLC_PT0_MATCH)) {
    sub WOLC_PT0_MATCH () {	0x1000000;}
}
unless(defined(&WOLC_PT1_MATCH)) {
    sub WOLC_PT1_MATCH () {	0x2000000;}
}
unless(defined(&WOLC_PT2_MATCH)) {
    sub WOLC_PT2_MATCH () {	0x4000000;}
}
unless(defined(&WOLC_PT3_MATCH)) {
    sub WOLC_PT3_MATCH () {	0x8000000;}
}
unless(defined(&WOLC_PT4_MATCH)) {
    sub WOLC_PT4_MATCH () {	0x10000000;}
}
unless(defined(&LII_SRAM_TXRAM_END)) {
    sub LII_SRAM_TXRAM_END () {	0x1500;}
}
unless(defined(&LII_SRAM_RXRAM_END)) {
    sub LII_SRAM_RXRAM_END () {	0x1502;}
}
unless(defined(&LII_DESC_BASE_ADDR_HI)) {
    sub LII_DESC_BASE_ADDR_HI () {	0x1540;}
}
unless(defined(&LII_TXD_BASE_ADDR_LO)) {
    sub LII_TXD_BASE_ADDR_LO () {	0x1544;}
}
unless(defined(&LII_TXD_BUFFER_SIZE)) {
    sub LII_TXD_BUFFER_SIZE () {	0x1548;}
}
unless(defined(&LII_TXS_BASE_ADDR_LO)) {
    sub LII_TXS_BASE_ADDR_LO () {	0x154c;}
}
unless(defined(&LII_TXS_NUM_ENTRIES)) {
    sub LII_TXS_NUM_ENTRIES () {	0x1550;}
}
unless(defined(&LII_RXD_BASE_ADDR_LO)) {
    sub LII_RXD_BASE_ADDR_LO () {	0x1554;}
}
unless(defined(&LII_RXD_NUM_ENTRIES)) {
    sub LII_RXD_NUM_ENTRIES () {	0x1558;}
}
unless(defined(&LII_DMAR)) {
    sub LII_DMAR () {	0x1580;}
}
unless(defined(&DMAR_EN)) {
    sub DMAR_EN () {	0x1;}
}
unless(defined(&LII_TX_CUT_THRESH)) {
    sub LII_TX_CUT_THRESH () {	0x1590;}
}
unless(defined(&LII_DMAW)) {
    sub LII_DMAW () {	0x15a0;}
}
unless(defined(&DMAW_EN)) {
    sub DMAW_EN () {	0x1;}
}
unless(defined(&LII_PAUSE_ON_TH)) {
    sub LII_PAUSE_ON_TH () {	0x15a8;}
}
unless(defined(&LII_PAUSE_OFF_TH)) {
    sub LII_PAUSE_OFF_TH () {	0x15aa;}
}
unless(defined(&LII_MB_TXD_WR_IDX)) {
    sub LII_MB_TXD_WR_IDX () {	0x15f0;}
}
unless(defined(&LII_MB_RXD_RD_IDX)) {
    sub LII_MB_RXD_RD_IDX () {	0x15f4;}
}
unless(defined(&LII_ISR)) {
    sub LII_ISR () {	0x1600;}
}
unless(defined(&ISR_TIMER)) {
    sub ISR_TIMER () {	0x1;}
}
unless(defined(&ISR_MANUAL)) {
    sub ISR_MANUAL () {	0x2;}
}
unless(defined(&ISR_RXF_OV)) {
    sub ISR_RXF_OV () {	0x4;}
}
unless(defined(&ISR_TXF_UR)) {
    sub ISR_TXF_UR () {	0x8;}
}
unless(defined(&ISR_TXS_OV)) {
    sub ISR_TXS_OV () {	0x10;}
}
unless(defined(&ISR_RXS_OV)) {
    sub ISR_RXS_OV () {	0x20;}
}
unless(defined(&ISR_LINK_CHG)) {
    sub ISR_LINK_CHG () {	0x40;}
}
unless(defined(&ISR_HOST_TXD_UR)) {
    sub ISR_HOST_TXD_UR () {	0x80;}
}
unless(defined(&ISR_HOST_RXD_OV)) {
    sub ISR_HOST_RXD_OV () {	0x100;}
}
unless(defined(&ISR_DMAR_TO_RST)) {
    sub ISR_DMAR_TO_RST () {	0x200;}
}
unless(defined(&ISR_DMAW_TO_RST)) {
    sub ISR_DMAW_TO_RST () {	0x400;}
}
unless(defined(&ISR_PHY)) {
    sub ISR_PHY () {	0x800;}
}
unless(defined(&ISR_TS_UPDATE)) {
    sub ISR_TS_UPDATE () {	0x10000;}
}
unless(defined(&ISR_RS_UPDATE)) {
    sub ISR_RS_UPDATE () {	0x20000;}
}
unless(defined(&ISR_TX_EARLY)) {
    sub ISR_TX_EARLY () {	0x40000;}
}
unless(defined(&ISR_UR_DETECTED)) {
    sub ISR_UR_DETECTED () {	0x1000000;}
}
unless(defined(&ISR_FERR_DETECTED)) {
    sub ISR_FERR_DETECTED () {	0x2000000;}
}
unless(defined(&ISR_NFERR_DETECTED)) {
    sub ISR_NFERR_DETECTED () {	0x4000000;}
}
unless(defined(&ISR_CERR_DETECTED)) {
    sub ISR_CERR_DETECTED () {	0x8000000;}
}
unless(defined(&ISR_PHY_LINKDOWN)) {
    sub ISR_PHY_LINKDOWN () {	0x10000000;}
}
unless(defined(&ISR_DIS_INT)) {
    sub ISR_DIS_INT () {	0x80000000;}
}
unless(defined(&ISR_TX_EVENT)) {
    sub ISR_TX_EVENT () {	( &ISR_TXF_UR |  &ISR_TXS_OV |  &ISR_HOST_TXD_UR |  &ISR_TS_UPDATE |  &ISR_TX_EARLY);}
}
unless(defined(&ISR_RX_EVENT)) {
    sub ISR_RX_EVENT () {	( &ISR_RXF_OV |  &ISR_RXS_OV |  &ISR_HOST_RXD_OV |  &ISR_RS_UPDATE);}
}
unless(defined(&LII_IMR)) {
    sub LII_IMR () {	0x1604;}
}
unless(defined(&IMR_NORMAL_MASK)) {
    sub IMR_NORMAL_MASK () {	( &ISR_DMAR_TO_RST |  &ISR_DMAW_TO_RST |  &ISR_PHY |  &ISR_PHY_LINKDOWN |  &ISR_TS_UPDATE |  &ISR_RS_UPDATE);}
}
unless(defined(&LII_STS_RX_PAUSE)) {
    sub LII_STS_RX_PAUSE () {	0x1700;}
}
unless(defined(&LII_STS_RXD_OV)) {
    sub LII_STS_RXD_OV () {	0x1704;}
}
unless(defined(&LII_STS_RXS_OV)) {
    sub LII_STS_RXS_OV () {	0x1708;}
}
unless(defined(&LII_STS_RX_FILTER)) {
    sub LII_STS_RX_FILTER () {	0x170c;}
}
unless(defined(&LII_TXH_ADD_VLAN_TAG)) {
    sub LII_TXH_ADD_VLAN_TAG () {	0x8000;}
}
unless(defined(&LII_TXF_SUCCESS)) {
    sub LII_TXF_SUCCESS () {	0x1;}
}
unless(defined(&LII_TXF_BCAST)) {
    sub LII_TXF_BCAST () {	0x2;}
}
unless(defined(&LII_TXF_MCAST)) {
    sub LII_TXF_MCAST () {	0x4;}
}
unless(defined(&LII_TXF_PAUSE)) {
    sub LII_TXF_PAUSE () {	0x8;}
}
unless(defined(&LII_TXF_CTRL)) {
    sub LII_TXF_CTRL () {	0x10;}
}
unless(defined(&LII_TXF_DEFER)) {
    sub LII_TXF_DEFER () {	0x20;}
}
unless(defined(&LII_TXF_EXC_DEFER)) {
    sub LII_TXF_EXC_DEFER () {	0x40;}
}
unless(defined(&LII_TXF_SINGLE_COL)) {
    sub LII_TXF_SINGLE_COL () {	0x80;}
}
unless(defined(&LII_TXF_MULTI_COL)) {
    sub LII_TXF_MULTI_COL () {	0x100;}
}
unless(defined(&LII_TXF_LATE_COL)) {
    sub LII_TXF_LATE_COL () {	0x200;}
}
unless(defined(&LII_TXF_ABORT_COL)) {
    sub LII_TXF_ABORT_COL () {	0x400;}
}
unless(defined(&LII_TXF_UNDERRUN)) {
    sub LII_TXF_UNDERRUN () {	0x800;}
}
unless(defined(&LII_RXF_SUCCESS)) {
    sub LII_RXF_SUCCESS () {	0x1;}
}
unless(defined(&LII_RXF_BCAST)) {
    sub LII_RXF_BCAST () {	0x2;}
}
unless(defined(&LII_RXF_MCAST)) {
    sub LII_RXF_MCAST () {	0x4;}
}
unless(defined(&LII_RXF_PAUSE)) {
    sub LII_RXF_PAUSE () {	0x8;}
}
unless(defined(&LII_RXF_CTRL)) {
    sub LII_RXF_CTRL () {	0x10;}
}
unless(defined(&LII_RXF_CRC)) {
    sub LII_RXF_CRC () {	0x20;}
}
unless(defined(&LII_RXF_CODE)) {
    sub LII_RXF_CODE () {	0x40;}
}
unless(defined(&LII_RXF_RUNT)) {
    sub LII_RXF_RUNT () {	0x80;}
}
unless(defined(&LII_RXF_FRAG)) {
    sub LII_RXF_FRAG () {	0x100;}
}
unless(defined(&LII_RXF_TRUNC)) {
    sub LII_RXF_TRUNC () {	0x200;}
}
unless(defined(&LII_RXF_ALIGN)) {
    sub LII_RXF_ALIGN () {	0x400;}
}
unless(defined(&LII_RXF_VLAN)) {
    sub LII_RXF_VLAN () {	0x800;}
}
1;
