require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_ACPHYREG_H_)) {
    eval 'sub _DEV_MII_ACPHYREG_H_ () {1;}' unless defined(&_DEV_MII_ACPHYREG_H_);
    eval 'sub MII_ACPHY_PILR () {0x10;}' unless defined(&MII_ACPHY_PILR);
    eval 'sub PILR_REPEATER () {0x8000;}' unless defined(&PILR_REPEATER);
    eval 'sub PILR_INTR_LEVL () {0x4000;}' unless defined(&PILR_INTR_LEVL);
    eval 'sub PILR_SQE_INHIBIT () {0x800;}' unless defined(&PILR_SQE_INHIBIT);
    eval 'sub PILR_10T_LOOP () {0x400;}' unless defined(&PILR_10T_LOOP);
    eval 'sub PILR_GPIO1_DATA () {0x200;}' unless defined(&PILR_GPIO1_DATA);
    eval 'sub PILR_GPIO1_DIR () {0x100;}' unless defined(&PILR_GPIO1_DIR);
    eval 'sub PILR_GPIO0_DATA () {0x80;}' unless defined(&PILR_GPIO0_DATA);
    eval 'sub PILR_GPIO0_DIR () {0x40;}' unless defined(&PILR_GPIO0_DIR);
    eval 'sub PILR_AUTO_POL_DIS () {0x20;}' unless defined(&PILR_AUTO_POL_DIS);
    eval 'sub PILR_REVERSE_POL () {0x10;}' unless defined(&PILR_REVERSE_POL);
    eval 'sub PILR_RXCLK_CTRL () {0x1;}' unless defined(&PILR_RXCLK_CTRL);
    eval 'sub MII_ACPHY_ICSR () {0x11;}' unless defined(&MII_ACPHY_ICSR);
    eval 'sub ICSR_JABBER_IE () {0x8000;}' unless defined(&ICSR_JABBER_IE);
    eval 'sub ICSR_RX_ER_IE () {0x4000;}' unless defined(&ICSR_RX_ER_IE);
    eval 'sub ICSR_PAGE_RX_IE () {0x2000;}' unless defined(&ICSR_PAGE_RX_IE);
    eval 'sub ICSR_PD_FAULT_IE () {0x1000;}' unless defined(&ICSR_PD_FAULT_IE);
    eval 'sub ICSR_LP_ACK_IE () {0x800;}' unless defined(&ICSR_LP_ACK_IE);
    eval 'sub ICSR_LNK_NOT_OK_IE () {0x400;}' unless defined(&ICSR_LNK_NOT_OK_IE);
    eval 'sub ICSR_R_FAULT_IE () {0x200;}' unless defined(&ICSR_R_FAULT_IE);
    eval 'sub ICSR_ANEG_COMP_IE () {0x100;}' unless defined(&ICSR_ANEG_COMP_IE);
    eval 'sub ICSR_JABBER_INT () {0x80;}' unless defined(&ICSR_JABBER_INT);
    eval 'sub ICSR_RX_ER_INT () {0x40;}' unless defined(&ICSR_RX_ER_INT);
    eval 'sub ICSR_PAGE_RX_INT () {0x20;}' unless defined(&ICSR_PAGE_RX_INT);
    eval 'sub ICSR_PD_FAULT_INT () {0x10;}' unless defined(&ICSR_PD_FAULT_INT);
    eval 'sub ICSR_LP_ACK_INT () {0x8;}' unless defined(&ICSR_LP_ACK_INT);
    eval 'sub ICSR_LNK_NOT_OK_INT () {0x4;}' unless defined(&ICSR_LNK_NOT_OK_INT);
    eval 'sub ICSR_R_FAULT_INT () {0x2;}' unless defined(&ICSR_R_FAULT_INT);
    eval 'sub ICSR_ANEG_COMP_INT () {0x1;}' unless defined(&ICSR_ANEG_COMP_INT);
    eval 'sub MII_ACPHY_DR () {0x12;}' unless defined(&MII_ACPHY_DR);
    eval 'sub DR_DPLX () {0x800;}' unless defined(&DR_DPLX);
    eval 'sub DR_SPEED () {0x400;}' unless defined(&DR_SPEED);
    eval 'sub DR_RX_PASS () {0x200;}' unless defined(&DR_RX_PASS);
    eval 'sub DR_RX_LOCK () {0x100;}' unless defined(&DR_RX_LOCK);
    eval 'sub MII_ACPHY_PLR () {0x13;}' unless defined(&MII_ACPHY_PLR);
    eval 'sub PLR_TB125 () {0x40;}' unless defined(&PLR_TB125);
    eval 'sub PLR_LOW_POWER_MODE () {0x20;}' unless defined(&PLR_LOW_POWER_MODE);
    eval 'sub PLR_TEST_LOOPBACK () {0x10;}' unless defined(&PLR_TEST_LOOPBACK);
    eval 'sub PLR_DIGITAL_LOOPBACK () {0x8;}' unless defined(&PLR_DIGITAL_LOOPBACK);
    eval 'sub PLR_LP_LPBK () {0x4;}' unless defined(&PLR_LP_LPBK);
    eval 'sub PLR_NLP_LINK_INT_TEST () {0x2;}' unless defined(&PLR_NLP_LINK_INT_TEST);
    eval 'sub PLR_REDUCE_TIMER () {0x1;}' unless defined(&PLR_REDUCE_TIMER);
    eval 'sub MII_ACPHY_CMR () {0x14;}' unless defined(&MII_ACPHY_CMR);
    eval 'sub CMR_MASK () {0xf0;}' unless defined(&CMR_MASK);
    eval 'sub MII_ACPHY_MCR () {0x15;}' unless defined(&MII_ACPHY_MCR);
    eval 'sub MCR_NLP_DISABLE () {0x4000;}' unless defined(&MCR_NLP_DISABLE);
    eval 'sub MCR_FORCE_LINK_UP () {0x2000;}' unless defined(&MCR_FORCE_LINK_UP);
    eval 'sub MCR_JABBER_DISABLE () {0x1000;}' unless defined(&MCR_JABBER_DISABLE);
    eval 'sub MCR_10BT_SEL () {0x800;}' unless defined(&MCR_10BT_SEL);
    eval 'sub MCR_CONF_ALED () {0x400;}' unless defined(&MCR_CONF_ALED);
    eval 'sub MCR_LED_SEL () {0x200;}' unless defined(&MCR_LED_SEL);
    eval 'sub MCR_FEF_DIS () {0x100;}' unless defined(&MCR_FEF_DIS);
    eval 'sub MCR_FORCE_FEF_TX () {0x80;}' unless defined(&MCR_FORCE_FEF_TX);
    eval 'sub MCR_RX_ER_CNT_FULL () {0x40;}' unless defined(&MCR_RX_ER_CNT_FULL);
    eval 'sub MCR_DIS_RX_ER_CNT () {0x20;}' unless defined(&MCR_DIS_RX_ER_CNT);
    eval 'sub MCR_DIS_WDT () {0x10;}' unless defined(&MCR_DIS_WDT);
    eval 'sub MCR_EN_RPBK () {0x8;}' unless defined(&MCR_EN_RPBK);
    eval 'sub MCR_DIS_SCRM () {0x4;}' unless defined(&MCR_DIS_SCRM);
    eval 'sub MCR_PCSBP () {0x2;}' unless defined(&MCR_PCSBP);
    eval 'sub MCR_FX_SEL () {0x1;}' unless defined(&MCR_FX_SEL);
    eval 'sub MII_ACPHY_DCR () {0x17;}' unless defined(&MII_ACPHY_DCR);
    eval 'sub MII_ACPHY_RECR () {0x18;}' unless defined(&MII_ACPHY_RECR);
}
1;
