require '_h2ph_pre.ph';

unless(defined(&_DEV_MII_NSGPHYREG_H_)) {
    eval 'sub _DEV_MII_NSGPHYREG_H_ () {1;}' unless defined(&_DEV_MII_NSGPHYREG_H_);
    eval 'sub NSGPHY_MII_BMCR () {0x;}' unless defined(&NSGPHY_MII_BMCR);
    eval 'sub NSGPHY_BMCR_RESET () {0x8000;}' unless defined(&NSGPHY_BMCR_RESET);
    eval 'sub NSGPHY_BMCR_LOOP () {0x4000;}' unless defined(&NSGPHY_BMCR_LOOP);
    eval 'sub NSGPHY_BMCR_SPD0 () {0x2000;}' unless defined(&NSGPHY_BMCR_SPD0);
    eval 'sub NSGPHY_BMCR_AUTOEN () {0x1000;}' unless defined(&NSGPHY_BMCR_AUTOEN);
    eval 'sub NSGPHY_BMCR_PDOWN () {0x800;}' unless defined(&NSGPHY_BMCR_PDOWN);
    eval 'sub NSGPHY_BMCR_ISO () {0x400;}' unless defined(&NSGPHY_BMCR_ISO);
    eval 'sub NSGPHY_BMCR_STARTNEG () {0x200;}' unless defined(&NSGPHY_BMCR_STARTNEG);
    eval 'sub NSGPHY_BMCR_FDX () {0x100;}' unless defined(&NSGPHY_BMCR_FDX);
    eval 'sub NSGPHY_BMCR_CTEST () {0x80;}' unless defined(&NSGPHY_BMCR_CTEST);
    eval 'sub NSGPHY_BMCR_SPD1 () {0x40;}' unless defined(&NSGPHY_BMCR_SPD1);
    eval 'sub NSGPHY_S1000 () { &NSGPHY_BMCR_SPD1;}' unless defined(&NSGPHY_S1000);
    eval 'sub NSGPHY_S100 () { &NSGPHY_BMCR_SPD0;}' unless defined(&NSGPHY_S100);
    eval 'sub NSGPHY_S10 () {0;}' unless defined(&NSGPHY_S10);
    eval 'sub NSGPHY_MII_BMSR () {0x1;}' unless defined(&NSGPHY_MII_BMSR);
    eval 'sub NSGPHY_BMSR_100BT4 () {0x8000;}' unless defined(&NSGPHY_BMSR_100BT4);
    eval 'sub NSGPHY_BMSR_100FDX () {0x4000;}' unless defined(&NSGPHY_BMSR_100FDX);
    eval 'sub NSGPHY_BMSR_100HDX () {0x2000;}' unless defined(&NSGPHY_BMSR_100HDX);
    eval 'sub NSGPHY_BMSR_10FDX () {0x1000;}' unless defined(&NSGPHY_BMSR_10FDX);
    eval 'sub NSGPHY_BMSR_10HDX () {0x800;}' unless defined(&NSGPHY_BMSR_10HDX);
    eval 'sub NSGPHY_BMSR_100T2FDX () {0x400;}' unless defined(&NSGPHY_BMSR_100T2FDX);
    eval 'sub NSGPHY_BMSR_100T2HDX () {0x200;}' unless defined(&NSGPHY_BMSR_100T2HDX);
    eval 'sub NSGPHY_BMSR_EXTSTS () {0x100;}' unless defined(&NSGPHY_BMSR_EXTSTS);
    eval 'sub NSGPHY_BMSR_PRESUB () {0x40;}' unless defined(&NSGPHY_BMSR_PRESUB);
    eval 'sub NSGPHY_BMSR_ACOMP () {0x20;}' unless defined(&NSGPHY_BMSR_ACOMP);
    eval 'sub NSGPHY_BMSR_RFAULT () {0x10;}' unless defined(&NSGPHY_BMSR_RFAULT);
    eval 'sub NSGPHY_BMSR_ANEG () {0x8;}' unless defined(&NSGPHY_BMSR_ANEG);
    eval 'sub NSGPHY_BMSR_LINK () {0x4;}' unless defined(&NSGPHY_BMSR_LINK);
    eval 'sub NSGPHY_BMSR_JABBER () {0x2;}' unless defined(&NSGPHY_BMSR_JABBER);
    eval 'sub NSGPHY_BMSR_EXT () {0x1;}' unless defined(&NSGPHY_BMSR_EXT);
    eval 'sub NSGPHY_MII_ANAR () {0x4;}' unless defined(&NSGPHY_MII_ANAR);
    eval 'sub NSGPHY_ANAR_NP () {0x8000;}' unless defined(&NSGPHY_ANAR_NP);
    eval 'sub NSGPHY_ANAR_RF () {0x2000;}' unless defined(&NSGPHY_ANAR_RF);
    eval 'sub NSGPHY_ANAR_ASP () {0x800;}' unless defined(&NSGPHY_ANAR_ASP);
    eval 'sub NSGPHY_ANAR_PC () {0x400;}' unless defined(&NSGPHY_ANAR_PC);
    eval 'sub NSGPHY_ANAR_100T4 () {0x200;}' unless defined(&NSGPHY_ANAR_100T4);
    eval 'sub NSGPHY_ANAR_100FDX () {0x100;}' unless defined(&NSGPHY_ANAR_100FDX);
    eval 'sub NSGPHY_ANAR_100HDX () {0x80;}' unless defined(&NSGPHY_ANAR_100HDX);
    eval 'sub NSGPHY_ANAR_10FDX () {0x40;}' unless defined(&NSGPHY_ANAR_10FDX);
    eval 'sub NSGPHY_ANAR_10HDX () {0x20;}' unless defined(&NSGPHY_ANAR_10HDX);
    eval 'sub NSGPHY_ANAR_SEL () {0x1f;}' unless defined(&NSGPHY_ANAR_SEL);
    eval 'sub NSGPHY_MII_ANLPAR () {0x5;}' unless defined(&NSGPHY_MII_ANLPAR);
    eval 'sub NSGPHY_ANLPAR_NP () {0x8000;}' unless defined(&NSGPHY_ANLPAR_NP);
    eval 'sub NSGPHY_ANLPAR_RF () {0x2000;}' unless defined(&NSGPHY_ANLPAR_RF);
    eval 'sub NSGPHY_ANLPAR_ASP () {0x800;}' unless defined(&NSGPHY_ANLPAR_ASP);
    eval 'sub NSGPHY_ANLPAR_PC () {0x400;}' unless defined(&NSGPHY_ANLPAR_PC);
    eval 'sub NSGPHY_ANLPAR_100T4 () {0x200;}' unless defined(&NSGPHY_ANLPAR_100T4);
    eval 'sub NSGPHY_ANLPAR_100FDX () {0x100;}' unless defined(&NSGPHY_ANLPAR_100FDX);
    eval 'sub NSGPHY_ANLPAR_100HDX () {0x80;}' unless defined(&NSGPHY_ANLPAR_100HDX);
    eval 'sub NSGPHY_ANLPAR_10FDX () {0x40;}' unless defined(&NSGPHY_ANLPAR_10FDX);
    eval 'sub NSGPHY_ANLPAR_10HDX () {0x20;}' unless defined(&NSGPHY_ANLPAR_10HDX);
    eval 'sub NSGPHY_ANLPAR_SEL () {0x1f;}' unless defined(&NSGPHY_ANLPAR_SEL);
    eval 'sub NSGPHY_SEL_TYPE () {0x1;}' unless defined(&NSGPHY_SEL_TYPE);
    eval 'sub NSGPHY_MII_ANER () {0x6;}' unless defined(&NSGPHY_MII_ANER);
    eval 'sub NSGPHY_ANER_PDF () {0x10;}' unless defined(&NSGPHY_ANER_PDF);
    eval 'sub NSGPHY_ANER_LPNP () {0x8;}' unless defined(&NSGPHY_ANER_LPNP);
    eval 'sub NSGPHY_ANER_NP () {0x4;}' unless defined(&NSGPHY_ANER_NP);
    eval 'sub NSGPHY_ANER_RX () {0x2;}' unless defined(&NSGPHY_ANER_RX);
    eval 'sub NSGPHY_ANER_LPAN () {0x1;}' unless defined(&NSGPHY_ANER_LPAN);
    eval 'sub NSGPHY_MII_NEXTP () {0x7;}' unless defined(&NSGPHY_MII_NEXTP);
    eval 'sub NSGPHY_NEXTP_NP () {0x8000;}' unless defined(&NSGPHY_NEXTP_NP);
    eval 'sub NSGPHY_NEXTP_MP () {0x2000;}' unless defined(&NSGPHY_NEXTP_MP);
    eval 'sub NSGPHY_NEXTP_ACK2 () {0x1000;}' unless defined(&NSGPHY_NEXTP_ACK2);
    eval 'sub NSGPHY_NEXTP_TOGGLE () {0x800;}' unless defined(&NSGPHY_NEXTP_TOGGLE);
    eval 'sub NSGPHY_NEXTP_CODE () {0x7ff;}' unless defined(&NSGPHY_NEXTP_CODE);
    eval 'sub NSGPHY_MII_NEXTP_LP () {0x8;}' unless defined(&NSGPHY_MII_NEXTP_LP);
    eval 'sub NSGPHY_NEXTPLP_NP () {0x8000;}' unless defined(&NSGPHY_NEXTPLP_NP);
    eval 'sub NSGPHY_NEXTPLP_MP () {0x2000;}' unless defined(&NSGPHY_NEXTPLP_MP);
    eval 'sub NSGPHY_NEXTPLP_ACK2 () {0x1000;}' unless defined(&NSGPHY_NEXTPLP_ACK2);
    eval 'sub NSGPHY_NEXTPLP_TOGGLE () {0x800;}' unless defined(&NSGPHY_NEXTPLP_TOGGLE);
    eval 'sub NSGPHY_NEXTPLP_CODE () {0x7ff;}' unless defined(&NSGPHY_NEXTPLP_CODE);
    eval 'sub NSGPHY_MII_1000CTL () {0x9;}' unless defined(&NSGPHY_MII_1000CTL);
    eval 'sub NSGPHY_1000CTL_TST () {0xe000;}' unless defined(&NSGPHY_1000CTL_TST);
    eval 'sub NSGPHY_1000CTL_MSE () {0x1000;}' unless defined(&NSGPHY_1000CTL_MSE);
    eval 'sub NSGPHY_1000CTL_MSC () {0x800;}' unless defined(&NSGPHY_1000CTL_MSC);
    eval 'sub NSGPHY_1000CTL_RD () {0x400;}' unless defined(&NSGPHY_1000CTL_RD);
    eval 'sub NSGPHY_1000CTL_AFD () {0x200;}' unless defined(&NSGPHY_1000CTL_AFD);
    eval 'sub NSGPHY_1000CTL_AHD () {0x100;}' unless defined(&NSGPHY_1000CTL_AHD);
    eval 'sub NSGPHY_MII_1000STS () {0xa;}' unless defined(&NSGPHY_MII_1000STS);
    eval 'sub NSGPHY_1000STS_MSF () {0x8000;}' unless defined(&NSGPHY_1000STS_MSF);
    eval 'sub NSGPHY_1000STS_MSR () {0x4000;}' unless defined(&NSGPHY_1000STS_MSR);
    eval 'sub NSGPHY_1000STS_LRS () {0x2000;}' unless defined(&NSGPHY_1000STS_LRS);
    eval 'sub NSGPHY_1000STS_RRS () {0x1000;}' unless defined(&NSGPHY_1000STS_RRS);
    eval 'sub NSGPHY_1000STS_LPFD () {0x800;}' unless defined(&NSGPHY_1000STS_LPFD);
    eval 'sub NSGPHY_1000STS_LPHD () {0x400;}' unless defined(&NSGPHY_1000STS_LPHD);
    eval 'sub NSGPHY_1000STS_ASM_DIR () {0x200;}' unless defined(&NSGPHY_1000STS_ASM_DIR);
    eval 'sub NSGPHY_1000STS_IEC () {0xff;}' unless defined(&NSGPHY_1000STS_IEC);
    eval 'sub NSGPHY_MII_EXTSTS () {0xf;}' unless defined(&NSGPHY_MII_EXTSTS);
    eval 'sub NSGPHY_EXTSTS_X_FD_CAP () {0x8000;}' unless defined(&NSGPHY_EXTSTS_X_FD_CAP);
    eval 'sub NSGPHY_EXTSTS_X_HD_CAP () {0x4000;}' unless defined(&NSGPHY_EXTSTS_X_HD_CAP);
    eval 'sub NSGPHY_EXTSTS_T_FD_CAP () {0x2000;}' unless defined(&NSGPHY_EXTSTS_T_FD_CAP);
    eval 'sub NSGPHY_EXTSTS_T_HD_CAP () {0x1000;}' unless defined(&NSGPHY_EXTSTS_T_HD_CAP);
    eval 'sub NSGPHY_MII_STRAPOPT () {0x10;}' unless defined(&NSGPHY_MII_STRAPOPT);
    eval 'sub NSGPHY_STRAPOPT_PHYADDR () {0xf800;}' unless defined(&NSGPHY_STRAPOPT_PHYADDR);
    eval 'sub NSGPHY_STRAPOPT_COMPAT () {0x400;}' unless defined(&NSGPHY_STRAPOPT_COMPAT);
    eval 'sub NSGPHY_STRAPOPT_MMSE () {0x200;}' unless defined(&NSGPHY_STRAPOPT_MMSE);
    eval 'sub NSGPHY_STRAPOPT_ANEG () {0x100;}' unless defined(&NSGPHY_STRAPOPT_ANEG);
    eval 'sub NSGPHY_STRAPOPT_MMSV () {0x80;}' unless defined(&NSGPHY_STRAPOPT_MMSV);
    eval 'sub NSGPHY_STRAPOPT_1000HDX () {0x10;}' unless defined(&NSGPHY_STRAPOPT_1000HDX);
    eval 'sub NSGPHY_STRAPOPT_1000FDX () {0x8;}' unless defined(&NSGPHY_STRAPOPT_1000FDX);
    eval 'sub NSGPHY_STRAPOPT_100_ADV () {0x4;}' unless defined(&NSGPHY_STRAPOPT_100_ADV);
    eval 'sub NSGPHY_STRAPOPT_SPDSEL () {0x3;}' unless defined(&NSGPHY_STRAPOPT_SPDSEL);
    eval 'sub NSGPHY_MII_PHYSUP () {0x11;}' unless defined(&NSGPHY_MII_PHYSUP);
    eval 'sub NSGPHY_PHYSUP_SPDSTS () {0x18;}' unless defined(&NSGPHY_PHYSUP_SPDSTS);
    eval 'sub NSGPHY_PHYSUP_LNKSTS () {0x4;}' unless defined(&NSGPHY_PHYSUP_LNKSTS);
    eval 'sub NSGPHY_PHYSUP_DUPSTS () {0x2;}' unless defined(&NSGPHY_PHYSUP_DUPSTS);
    eval 'sub NSGPHY_PHYSUP_10BT () {0x1;}' unless defined(&NSGPHY_PHYSUP_10BT);
    eval 'sub NSGPHY_SPDSTS_1000 () {0x10;}' unless defined(&NSGPHY_SPDSTS_1000);
    eval 'sub NSGPHY_SPDSTS_100 () {0x8;}' unless defined(&NSGPHY_SPDSTS_100);
    eval 'sub NSGPHY_SPDSTS_10 () {0x;}' unless defined(&NSGPHY_SPDSTS_10);
}
1;
