require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_RGEPHYREG_H_)) {
    eval 'sub _DEV_MII_RGEPHYREG_H_ () {1;}' unless defined(&_DEV_MII_RGEPHYREG_H_);
    eval 'sub RGEPHY_MII_BMCR () {0x;}' unless defined(&RGEPHY_MII_BMCR);
    eval 'sub RGEPHY_BMCR_RESET () {0x8000;}' unless defined(&RGEPHY_BMCR_RESET);
    eval 'sub RGEPHY_BMCR_LOOP () {0x4000;}' unless defined(&RGEPHY_BMCR_LOOP);
    eval 'sub RGEPHY_BMCR_SPD0 () {0x2000;}' unless defined(&RGEPHY_BMCR_SPD0);
    eval 'sub RGEPHY_BMCR_AUTOEN () {0x1000;}' unless defined(&RGEPHY_BMCR_AUTOEN);
    eval 'sub RGEPHY_BMCR_PDOWN () {0x800;}' unless defined(&RGEPHY_BMCR_PDOWN);
    eval 'sub RGEPHY_BMCR_ISO () {0x400;}' unless defined(&RGEPHY_BMCR_ISO);
    eval 'sub RGEPHY_BMCR_STARTNEG () {0x200;}' unless defined(&RGEPHY_BMCR_STARTNEG);
    eval 'sub RGEPHY_BMCR_FDX () {0x100;}' unless defined(&RGEPHY_BMCR_FDX);
    eval 'sub RGEPHY_BMCR_CTEST () {0x80;}' unless defined(&RGEPHY_BMCR_CTEST);
    eval 'sub RGEPHY_BMCR_SPD1 () {0x40;}' unless defined(&RGEPHY_BMCR_SPD1);
    eval 'sub RGEPHY_S1000 () { &RGEPHY_BMCR_SPD1;}' unless defined(&RGEPHY_S1000);
    eval 'sub RGEPHY_S100 () { &RGEPHY_BMCR_SPD0;}' unless defined(&RGEPHY_S100);
    eval 'sub RGEPHY_S10 () {0;}' unless defined(&RGEPHY_S10);
    eval 'sub RGEPHY_MII_BMSR () {0x1;}' unless defined(&RGEPHY_MII_BMSR);
    eval 'sub RGEPHY_BMSR_100T4 () {0x8000;}' unless defined(&RGEPHY_BMSR_100T4);
    eval 'sub RGEPHY_BMSR_100TXFDX () {0x4000;}' unless defined(&RGEPHY_BMSR_100TXFDX);
    eval 'sub RGEPHY_BMSR_100TXHDX () {0x2000;}' unless defined(&RGEPHY_BMSR_100TXHDX);
    eval 'sub RGEPHY_BMSR_10TFDX () {0x1000;}' unless defined(&RGEPHY_BMSR_10TFDX);
    eval 'sub RGEPHY_BMSR_10THDX () {0x800;}' unless defined(&RGEPHY_BMSR_10THDX);
    eval 'sub RGEPHY_BMSR_100T2FDX () {0x400;}' unless defined(&RGEPHY_BMSR_100T2FDX);
    eval 'sub RGEPHY_BMSR_100T2HDX () {0x200;}' unless defined(&RGEPHY_BMSR_100T2HDX);
    eval 'sub RGEPHY_BMSR_EXTSTS () {0x100;}' unless defined(&RGEPHY_BMSR_EXTSTS);
    eval 'sub RGEPHY_BMSR_PRESUB () {0x40;}' unless defined(&RGEPHY_BMSR_PRESUB);
    eval 'sub RGEPHY_BMSR_ACOMP () {0x20;}' unless defined(&RGEPHY_BMSR_ACOMP);
    eval 'sub RGEPHY_BMSR_RFAULT () {0x10;}' unless defined(&RGEPHY_BMSR_RFAULT);
    eval 'sub RGEPHY_BMSR_ANEG () {0x8;}' unless defined(&RGEPHY_BMSR_ANEG);
    eval 'sub RGEPHY_BMSR_LINK () {0x4;}' unless defined(&RGEPHY_BMSR_LINK);
    eval 'sub RGEPHY_BMSR_JABBER () {0x2;}' unless defined(&RGEPHY_BMSR_JABBER);
    eval 'sub RGEPHY_BMSR_EXT () {0x1;}' unless defined(&RGEPHY_BMSR_EXT);
    eval 'sub RGEPHY_MII_ANAR () {0x4;}' unless defined(&RGEPHY_MII_ANAR);
    eval 'sub RGEPHY_ANAR_NP () {0x8000;}' unless defined(&RGEPHY_ANAR_NP);
    eval 'sub RGEPHY_ANAR_RF () {0x2000;}' unless defined(&RGEPHY_ANAR_RF);
    eval 'sub RGEPHY_ANAR_ASP () {0x800;}' unless defined(&RGEPHY_ANAR_ASP);
    eval 'sub RGEPHY_ANAR_PC () {0x400;}' unless defined(&RGEPHY_ANAR_PC);
    eval 'sub RGEPHY_ANAR_T4 () {0x200;}' unless defined(&RGEPHY_ANAR_T4);
    eval 'sub RGEPHY_ANAR_TX_FD () {0x100;}' unless defined(&RGEPHY_ANAR_TX_FD);
    eval 'sub RGEPHY_ANAR_TX () {0x80;}' unless defined(&RGEPHY_ANAR_TX);
    eval 'sub RGEPHY_ANAR_10_FD () {0x40;}' unless defined(&RGEPHY_ANAR_10_FD);
    eval 'sub RGEPHY_ANAR_10 () {0x20;}' unless defined(&RGEPHY_ANAR_10);
    eval 'sub RGEPHY_ANAR_SEL () {0x1f;}' unless defined(&RGEPHY_ANAR_SEL);
    eval 'sub RGEPHY_MII_ANLPAR () {0x5;}' unless defined(&RGEPHY_MII_ANLPAR);
    eval 'sub RGEPHY_ANLPAR_NP () {0x8000;}' unless defined(&RGEPHY_ANLPAR_NP);
    eval 'sub RGEPHY_ANLPAR_RF () {0x2000;}' unless defined(&RGEPHY_ANLPAR_RF);
    eval 'sub RGEPHY_ANLPAR_ASP () {0x800;}' unless defined(&RGEPHY_ANLPAR_ASP);
    eval 'sub RGEPHY_ANLPAR_PC () {0x400;}' unless defined(&RGEPHY_ANLPAR_PC);
    eval 'sub RGEPHY_ANLPAR_T4 () {0x200;}' unless defined(&RGEPHY_ANLPAR_T4);
    eval 'sub RGEPHY_ANLPAR_TX_FD () {0x100;}' unless defined(&RGEPHY_ANLPAR_TX_FD);
    eval 'sub RGEPHY_ANLPAR_TX () {0x80;}' unless defined(&RGEPHY_ANLPAR_TX);
    eval 'sub RGEPHY_ANLPAR_10_FD () {0x40;}' unless defined(&RGEPHY_ANLPAR_10_FD);
    eval 'sub RGEPHY_ANLPAR_10 () {0x20;}' unless defined(&RGEPHY_ANLPAR_10);
    eval 'sub RGEPHY_ANLPAR_SEL () {0x1f;}' unless defined(&RGEPHY_ANLPAR_SEL);
    eval 'sub RGEPHY_SEL_TYPE () {0x1;}' unless defined(&RGEPHY_SEL_TYPE);
    eval 'sub RGEPHY_MII_ANER () {0x6;}' unless defined(&RGEPHY_MII_ANER);
    eval 'sub RGEPHY_ANER_PDF () {0x10;}' unless defined(&RGEPHY_ANER_PDF);
    eval 'sub RGEPHY_ANER_LPNP () {0x8;}' unless defined(&RGEPHY_ANER_LPNP);
    eval 'sub RGEPHY_ANER_NP () {0x4;}' unless defined(&RGEPHY_ANER_NP);
    eval 'sub RGEPHY_ANER_RX () {0x2;}' unless defined(&RGEPHY_ANER_RX);
    eval 'sub RGEPHY_ANER_LPAN () {0x1;}' unless defined(&RGEPHY_ANER_LPAN);
    eval 'sub RGEPHY_MII_NEXTP () {0x7;}' unless defined(&RGEPHY_MII_NEXTP);
    eval 'sub RGEPHY_MII_NEXTP_LP () {0x8;}' unless defined(&RGEPHY_MII_NEXTP_LP);
    eval 'sub RGEPHY_MII_1000CTL () {0x9;}' unless defined(&RGEPHY_MII_1000CTL);
    eval 'sub RGEPHY_1000CTL_TST () {0xe000;}' unless defined(&RGEPHY_1000CTL_TST);
    eval 'sub RGEPHY_1000CTL_MSE () {0x1000;}' unless defined(&RGEPHY_1000CTL_MSE);
    eval 'sub RGEPHY_1000CTL_MSC () {0x800;}' unless defined(&RGEPHY_1000CTL_MSC);
    eval 'sub RGEPHY_1000CTL_RD () {0x400;}' unless defined(&RGEPHY_1000CTL_RD);
    eval 'sub RGEPHY_1000CTL_AFD () {0x200;}' unless defined(&RGEPHY_1000CTL_AFD);
    eval 'sub RGEPHY_1000CTL_AHD () {0x100;}' unless defined(&RGEPHY_1000CTL_AHD);
    eval 'sub RGEPHY_TEST_TX_JITTER () {0x2000;}' unless defined(&RGEPHY_TEST_TX_JITTER);
    eval 'sub RGEPHY_TEST_TX_JITTER_MASTER_MODE () {0x4000;}' unless defined(&RGEPHY_TEST_TX_JITTER_MASTER_MODE);
    eval 'sub RGEPHY_TEST_TX_JITTER_SLAVE_MODE () {0x6000;}' unless defined(&RGEPHY_TEST_TX_JITTER_SLAVE_MODE);
    eval 'sub RGEPHY_TEST_TX_DISTORTION () {0x8000;}' unless defined(&RGEPHY_TEST_TX_DISTORTION);
    eval 'sub RGEPHY_MII_1000STS () {0xa;}' unless defined(&RGEPHY_MII_1000STS);
    eval 'sub RGEPHY_1000STS_MSF () {0x8000;}' unless defined(&RGEPHY_1000STS_MSF);
    eval 'sub RGEPHY_1000STS_MSR () {0x4000;}' unless defined(&RGEPHY_1000STS_MSR);
    eval 'sub RGEPHY_1000STS_LRS () {0x2000;}' unless defined(&RGEPHY_1000STS_LRS);
    eval 'sub RGEPHY_1000STS_RRS () {0x1000;}' unless defined(&RGEPHY_1000STS_RRS);
    eval 'sub RGEPHY_1000STS_LPFD () {0x800;}' unless defined(&RGEPHY_1000STS_LPFD);
    eval 'sub RGEPHY_1000STS_LPHD () {0x400;}' unless defined(&RGEPHY_1000STS_LPHD);
    eval 'sub RGEPHY_1000STS_IEC () {0xff;}' unless defined(&RGEPHY_1000STS_IEC);
    eval 'sub RGEPHY_MII_EXTSTS () {0xf;}' unless defined(&RGEPHY_MII_EXTSTS);
    eval 'sub RGEPHY_EXTSTS_X_FD_CAP () {0x8000;}' unless defined(&RGEPHY_EXTSTS_X_FD_CAP);
    eval 'sub RGEPHY_EXTSTS_X_HD_CAP () {0x4000;}' unless defined(&RGEPHY_EXTSTS_X_HD_CAP);
    eval 'sub RGEPHY_EXTSTS_T_FD_CAP () {0x2000;}' unless defined(&RGEPHY_EXTSTS_T_FD_CAP);
    eval 'sub RGEPHY_EXTSTS_T_HD_CAP () {0x1000;}' unless defined(&RGEPHY_EXTSTS_T_HD_CAP);
}
1;
