require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_XMPHYREG_H_)) {
    eval 'sub _DEV_MII_XMPHYREG_H_ () {1;}' unless defined(&_DEV_MII_XMPHYREG_H_);
    eval 'sub XMPHY_MII_BMCR () {0x;}' unless defined(&XMPHY_MII_BMCR);
    eval 'sub XMPHY_BMCR_RESET () {0x8000;}' unless defined(&XMPHY_BMCR_RESET);
    eval 'sub XMPHY_BMCR_LOOP () {0x4000;}' unless defined(&XMPHY_BMCR_LOOP);
    eval 'sub XMPHY_BMCR_AUTOEN () {0x1000;}' unless defined(&XMPHY_BMCR_AUTOEN);
    eval 'sub XMPHY_BMCR_PDOWN () {0x800;}' unless defined(&XMPHY_BMCR_PDOWN);
    eval 'sub XMPHY_BMCR_STARTNEG () {0x200;}' unless defined(&XMPHY_BMCR_STARTNEG);
    eval 'sub XMPHY_BMCR_FDX () {0x100;}' unless defined(&XMPHY_BMCR_FDX);
    eval 'sub XMPHY_MII_BMSR () {0x1;}' unless defined(&XMPHY_MII_BMSR);
    eval 'sub XMPHY_BMSR_EXTSTS () {0x100;}' unless defined(&XMPHY_BMSR_EXTSTS);
    eval 'sub XMPHY_BMSR_ACOMP () {0x20;}' unless defined(&XMPHY_BMSR_ACOMP);
    eval 'sub XMPHY_BMSR_RFAULT () {0x10;}' unless defined(&XMPHY_BMSR_RFAULT);
    eval 'sub XMPHY_BMSR_ANEG () {0x8;}' unless defined(&XMPHY_BMSR_ANEG);
    eval 'sub XMPHY_BMSR_LINK () {0x4;}' unless defined(&XMPHY_BMSR_LINK);
    eval 'sub XMPHY_BMSR_EXT () {0x1;}' unless defined(&XMPHY_BMSR_EXT);
    eval 'sub XMPHY_MII_ANAR () {0x4;}' unless defined(&XMPHY_MII_ANAR);
    eval 'sub XMPHY_ANAR_NP () {0x8000;}' unless defined(&XMPHY_ANAR_NP);
    eval 'sub XMPHY_ANAR_ACK () {0x4000;}' unless defined(&XMPHY_ANAR_ACK);
    eval 'sub XMPHY_ANAR_RFBITS () {0x3000;}' unless defined(&XMPHY_ANAR_RFBITS);
    eval 'sub XMPHY_ANAR_PAUSEBITS () {0x180;}' unless defined(&XMPHY_ANAR_PAUSEBITS);
    eval 'sub XMPHY_ANAR_FDX () {0x40;}' unless defined(&XMPHY_ANAR_FDX);
    eval 'sub XMPHY_ANAR_HDX () {0x20;}' unless defined(&XMPHY_ANAR_HDX);
    eval 'sub XMPHY_MII_ANLPAR () {0x5;}' unless defined(&XMPHY_MII_ANLPAR);
    eval 'sub XMPHY_ANLPAR_NP () {0x8000;}' unless defined(&XMPHY_ANLPAR_NP);
    eval 'sub XMPHY_ANLPAR_ACK () {0x4000;}' unless defined(&XMPHY_ANLPAR_ACK);
    eval 'sub XMPHY_ANLPAR_RFBITS () {0x3000;}' unless defined(&XMPHY_ANLPAR_RFBITS);
    eval 'sub XMPHY_ANLPAR_PAUSEBITS () {0x180;}' unless defined(&XMPHY_ANLPAR_PAUSEBITS);
    eval 'sub XMPHY_ANLPAR_FDX () {0x40;}' unless defined(&XMPHY_ANLPAR_FDX);
    eval 'sub XMPHY_ANLPAR_HDX () {0x20;}' unless defined(&XMPHY_ANLPAR_HDX);
    eval 'sub XMPHY_RF_OK () {0x;}' unless defined(&XMPHY_RF_OK);
    eval 'sub XMPHY_RF_LINKFAIL () {0x1000;}' unless defined(&XMPHY_RF_LINKFAIL);
    eval 'sub XMPHY_RF_OFFLINE () {0x2000;}' unless defined(&XMPHY_RF_OFFLINE);
    eval 'sub XMPHY_RF_ANEGFAIL () {0x3000;}' unless defined(&XMPHY_RF_ANEGFAIL);
    eval 'sub XMPHY_PAUSE_NOPAUSE () {0x;}' unless defined(&XMPHY_PAUSE_NOPAUSE);
    eval 'sub XMPHY_PAUSE_ASYMMETRIC () {0x80;}' unless defined(&XMPHY_PAUSE_ASYMMETRIC);
    eval 'sub XMPHY_PAUSE_SYMMETRIC () {0x100;}' unless defined(&XMPHY_PAUSE_SYMMETRIC);
    eval 'sub XMPHY_PAUSE_BOTH () {0x180;}' unless defined(&XMPHY_PAUSE_BOTH);
    eval 'sub XMPHY_MII_ANER () {0x6;}' unless defined(&XMPHY_MII_ANER);
    eval 'sub XMPHY_ANER_LPNP () {0x8;}' unless defined(&XMPHY_ANER_LPNP);
    eval 'sub XMPHY_ANER_NP () {0x4;}' unless defined(&XMPHY_ANER_NP);
    eval 'sub XMPHY_ANER_RX () {0x2;}' unless defined(&XMPHY_ANER_RX);
    eval 'sub XMPHY_MII_NEXTP () {0x7;}' unless defined(&XMPHY_MII_NEXTP);
    eval 'sub XMPHY_NEXTP_MORE () {0x8000;}' unless defined(&XMPHY_NEXTP_MORE);
    eval 'sub XMPHY_NEXTP_ACK1 () {0x4000;}' unless defined(&XMPHY_NEXTP_ACK1);
    eval 'sub XMPHY_NEXTP_MP () {0x2000;}' unless defined(&XMPHY_NEXTP_MP);
    eval 'sub XMPHY_NEXTP_ACK2 () {0x1000;}' unless defined(&XMPHY_NEXTP_ACK2);
    eval 'sub XMPHY_NEXTP_TOGGLE () {0x800;}' unless defined(&XMPHY_NEXTP_TOGGLE);
    eval 'sub XMPHY_NEXTP_MESSAGE () {0x7ff;}' unless defined(&XMPHY_NEXTP_MESSAGE);
    eval 'sub XMPHY_MII_NEXTPLP () {0x8;}' unless defined(&XMPHY_MII_NEXTPLP);
    eval 'sub XMPHY_NEXTPLP_MORE () {0x8000;}' unless defined(&XMPHY_NEXTPLP_MORE);
    eval 'sub XMPHY_NEXTPLP_ACK1 () {0x4000;}' unless defined(&XMPHY_NEXTPLP_ACK1);
    eval 'sub XMPHY_NEXTPLP_MP () {0x2000;}' unless defined(&XMPHY_NEXTPLP_MP);
    eval 'sub XMPHY_NEXTPLP_ACK2 () {0x1000;}' unless defined(&XMPHY_NEXTPLP_ACK2);
    eval 'sub XMPHY_NEXTPLP_TOGGLE () {0x800;}' unless defined(&XMPHY_NEXTPLP_TOGGLE);
    eval 'sub XMPHY_NEXTPLP_MESSAGE () {0x7ff;}' unless defined(&XMPHY_NEXTPLP_MESSAGE);
    eval 'sub XMPHY_MII_EXTSTS () {0xf;}' unless defined(&XMPHY_MII_EXTSTS);
    eval 'sub XMPHY_EXTSTS_FDX () {0x8000;}' unless defined(&XMPHY_EXTSTS_FDX);
    eval 'sub XMPHY_EXTSTS_HDX () {0x4000;}' unless defined(&XMPHY_EXTSTS_HDX);
    eval 'sub XMPHY_MII_RESAB () {0x10;}' unless defined(&XMPHY_MII_RESAB);
    eval 'sub XMPHY_RESAB_PAUSEBITS () {0x180;}' unless defined(&XMPHY_RESAB_PAUSEBITS);
    eval 'sub XMPHY_RESAB_HDX () {0x40;}' unless defined(&XMPHY_RESAB_HDX);
    eval 'sub XMPHY_RESAB_FDX () {0x20;}' unless defined(&XMPHY_RESAB_FDX);
    eval 'sub XMPHY_RESAB_ABLMIS () {0x10;}' unless defined(&XMPHY_RESAB_ABLMIS);
    eval 'sub XMPHY_RESAB_PAUSEMIS () {0x8;}' unless defined(&XMPHY_RESAB_PAUSEMIS);
}
1;
