require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_BMTPHYREG_H_)) {
    eval 'sub _DEV_MII_BMTPHYREG_H_ () {1;}' unless defined(&_DEV_MII_BMTPHYREG_H_);
    eval 'sub MII_BMTPHY_AUX_CTL () {0x10;}' unless defined(&MII_BMTPHY_AUX_CTL);
    eval 'sub AUX_CTL_TXDIS () {0x2000;}' unless defined(&AUX_CTL_TXDIS);
    eval 'sub AUX_CTL_4B5B_BYPASS () {0x400;}' unless defined(&AUX_CTL_4B5B_BYPASS);
    eval 'sub AUX_CTL_SCR_BYPASS () {0x200;}' unless defined(&AUX_CTL_SCR_BYPASS);
    eval 'sub AUX_CTL_NRZI_BYPASS () {0x100;}' unless defined(&AUX_CTL_NRZI_BYPASS);
    eval 'sub AUX_CTL_RXALIGN_BYPASS () {0x80;}' unless defined(&AUX_CTL_RXALIGN_BYPASS);
    eval 'sub AUX_CTL_BASEWANDER_DIS () {0x40;}' unless defined(&AUX_CTL_BASEWANDER_DIS);
    eval 'sub AUX_CTL_FEF_EN () {0x20;}' unless defined(&AUX_CTL_FEF_EN);
    eval 'sub MII_BMTPHY_AUX_STS () {0x11;}' unless defined(&MII_BMTPHY_AUX_STS);
    eval 'sub AUX_STS_FX_MODE () {0x400;}' unless defined(&AUX_STS_FX_MODE);
    eval 'sub AUX_STS_LOCKED () {0x200;}' unless defined(&AUX_STS_LOCKED);
    eval 'sub AUX_STS_100BASE_LINK () {0x100;}' unless defined(&AUX_STS_100BASE_LINK);
    eval 'sub AUX_STS_REMFAULT () {0x80;}' unless defined(&AUX_STS_REMFAULT);
    eval 'sub AUX_STS_DISCON_STATE () {0x40;}' unless defined(&AUX_STS_DISCON_STATE);
    eval 'sub AUX_STS_FCARDET () {0x20;}' unless defined(&AUX_STS_FCARDET);
    eval 'sub AUX_STS_BAD_ESD () {0x10;}' unless defined(&AUX_STS_BAD_ESD);
    eval 'sub AUX_STS_RXERROR () {0x8;}' unless defined(&AUX_STS_RXERROR);
    eval 'sub AUX_STS_TXERROR () {0x4;}' unless defined(&AUX_STS_TXERROR);
    eval 'sub AUX_STS_LOCKERROR () {0x2;}' unless defined(&AUX_STS_LOCKERROR);
    eval 'sub AUX_STS_MLT3ERROR () {0x1;}' unless defined(&AUX_STS_MLT3ERROR);
    eval 'sub MII_BMTPHY_RXERROR_CTR () {0x12;}' unless defined(&MII_BMTPHY_RXERROR_CTR);
    eval 'sub RXERROR_CTR_MASK () {0xff;}' unless defined(&RXERROR_CTR_MASK);
    eval 'sub MII_BMTPHY_FCS_CTR () {0x13;}' unless defined(&MII_BMTPHY_FCS_CTR);
    eval 'sub FCS_CTR_MASK () {0xff;}' unless defined(&FCS_CTR_MASK);
    eval 'sub MII_BMTPHY_DIS_CTR () {0x14;}' unless defined(&MII_BMTPHY_DIS_CTR);
    eval 'sub DIS_CTR_MASK () {0xff;}' unless defined(&DIS_CTR_MASK);
    eval 'sub MII_BMTPHY_PTEST () {0x17;}' unless defined(&MII_BMTPHY_PTEST);
    eval 'sub MII_BMTPHY_AUX_CSR () {0x18;}' unless defined(&MII_BMTPHY_AUX_CSR);
    eval 'sub AUX_CSR_JABBER_DIS () {0x8000;}' unless defined(&AUX_CSR_JABBER_DIS);
    eval 'sub AUX_CSR_FLINK () {0x4000;}' unless defined(&AUX_CSR_FLINK);
    eval 'sub AUX_CSR_HSQ () {0x80;}' unless defined(&AUX_CSR_HSQ);
    eval 'sub AUX_CSR_LSQ () {0x40;}' unless defined(&AUX_CSR_LSQ);
    eval 'sub AUX_CSR_ER1 () {0x20;}' unless defined(&AUX_CSR_ER1);
    eval 'sub AUX_CSR_ER0 () {0x10;}' unless defined(&AUX_CSR_ER0);
    eval 'sub AUX_CSR_ANEG () {0x8;}' unless defined(&AUX_CSR_ANEG);
    eval 'sub AUX_CSR_F100 () {0x4;}' unless defined(&AUX_CSR_F100);
    eval 'sub AUX_CSR_SPEED () {0x2;}' unless defined(&AUX_CSR_SPEED);
    eval 'sub AUX_CSR_FDX () {0x1;}' unless defined(&AUX_CSR_FDX);
    eval 'sub MII_BMTPHY_AUX_SS () {0x19;}' unless defined(&MII_BMTPHY_AUX_SS);
    eval 'sub AUX_SS_ACOMP () {0x8000;}' unless defined(&AUX_SS_ACOMP);
    eval 'sub AUX_SS_ACOMP_ACK () {0x4000;}' unless defined(&AUX_SS_ACOMP_ACK);
    eval 'sub AUX_SS_AACK_DET () {0x2000;}' unless defined(&AUX_SS_AACK_DET);
    eval 'sub AUX_SS_ANLPAD () {0x1000;}' unless defined(&AUX_SS_ANLPAD);
    eval 'sub AUX_SS_ANEG_PAUSE () {0x800;}' unless defined(&AUX_SS_ANEG_PAUSE);
    eval 'sub AUX_SS_HCD () {0x700;}' unless defined(&AUX_SS_HCD);
    eval 'sub AUX_SS_HCD_NONE () {0x;}' unless defined(&AUX_SS_HCD_NONE);
    eval 'sub AUX_SS_HCD_10T () {0x100;}' unless defined(&AUX_SS_HCD_10T);
    eval 'sub AUX_SS_HCD_10T_FDX () {0x200;}' unless defined(&AUX_SS_HCD_10T_FDX);
    eval 'sub AUX_SS_HCD_100TX () {0x300;}' unless defined(&AUX_SS_HCD_100TX);
    eval 'sub AUX_SS_HCD_100T4 () {0x400;}' unless defined(&AUX_SS_HCD_100T4);
    eval 'sub AUX_SS_HCD_100TX_FDX () {0x500;}' unless defined(&AUX_SS_HCD_100TX_FDX);
    eval 'sub AUX_SS_PDF () {0x80;}' unless defined(&AUX_SS_PDF);
    eval 'sub AUX_SS_LPRF () {0x40;}' unless defined(&AUX_SS_LPRF);
    eval 'sub AUX_SS_LPPR () {0x20;}' unless defined(&AUX_SS_LPPR);
    eval 'sub AUX_SS_LPANA () {0x10;}' unless defined(&AUX_SS_LPANA);
    eval 'sub AUX_SS_SPEED () {0x8;}' unless defined(&AUX_SS_SPEED);
    eval 'sub AUX_SS_LINK () {0x4;}' unless defined(&AUX_SS_LINK);
    eval 'sub AUX_SS_ANEN () {0x2;}' unless defined(&AUX_SS_ANEN);
    eval 'sub AUX_SS_JABBER () {0x1;}' unless defined(&AUX_SS_JABBER);
    eval 'sub MII_BMTPHY_INTR () {0x1a;}' unless defined(&MII_BMTPHY_INTR);
    eval 'sub INTR_FDX_LED () {0x8000;}' unless defined(&INTR_FDX_LED);
    eval 'sub INTR_INTR_EN () {0x4000;}' unless defined(&INTR_INTR_EN);
    eval 'sub INTR_FDX_MASK () {0x800;}' unless defined(&INTR_FDX_MASK);
    eval 'sub INTR_SPD_MASK () {0x400;}' unless defined(&INTR_SPD_MASK);
    eval 'sub INTR_LINK_MASK () {0x200;}' unless defined(&INTR_LINK_MASK);
    eval 'sub INTR_INTR_MASK () {0x100;}' unless defined(&INTR_INTR_MASK);
    eval 'sub INTR_FDX_CHANGE () {0x8;}' unless defined(&INTR_FDX_CHANGE);
    eval 'sub INTR_SPD_CHANGE () {0x4;}' unless defined(&INTR_SPD_CHANGE);
    eval 'sub INTR_LINK_CHANGE () {0x2;}' unless defined(&INTR_LINK_CHANGE);
    eval 'sub INTR_INTR_STATUS () {0x1;}' unless defined(&INTR_INTR_STATUS);
    eval 'sub MII_BMTPHY_AUX2 () {0x1b;}' unless defined(&MII_BMTPHY_AUX2);
    eval 'sub AUX2_BLOCK_RXDV () {0x200;}' unless defined(&AUX2_BLOCK_RXDV);
    eval 'sub AUX2_ANPDQ () {0x100;}' unless defined(&AUX2_ANPDQ);
}
1;
