require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_MTDPHYREG_H_)) {
    eval 'sub _DEV_MII_MTDPHYREG_H_ () {1;}' unless defined(&_DEV_MII_MTDPHYREG_H_);
    eval 'sub MII_MTDPHY_ANNPTR () {0x7;}' unless defined(&MII_MTDPHY_ANNPTR);
    eval 'sub ANNPTR_NEXT () {0x8000;}' unless defined(&ANNPTR_NEXT);
    eval 'sub ANNPTR_ACK () {0x4000;}' unless defined(&ANNPTR_ACK);
    eval 'sub ANNPTR_MPG () {0x2000;}' unless defined(&ANNPTR_MPG);
    eval 'sub ANNPTR_ACK2 () {0x1000;}' unless defined(&ANNPTR_ACK2);
    eval 'sub ANNPTR_TOGGLE () {0x800;}' unless defined(&ANNPTR_TOGGLE);
    eval 'sub ANNPTR_DAT () {0x400;}' unless defined(&ANNPTR_DAT);
    eval 'sub MII_MTDPHY_DCR () {0x12;}' unless defined(&MII_MTDPHY_DCR);
    eval 'sub MII_MTDPHY_FCSCR () {0x13;}' unless defined(&MII_MTDPHY_FCSCR);
    eval 'sub MII_MTDPHY_RECR () {0x15;}' unless defined(&MII_MTDPHY_RECR);
    eval 'sub MII_MTDPHY_RR () {0x16;}' unless defined(&MII_MTDPHY_RR);
    eval 'sub MII_MTDPHY_PCR () {0x17;}' unless defined(&MII_MTDPHY_PCR);
    eval 'sub PCR_NRZIEN () {0x8000;}' unless defined(&PCR_NRZIEN);
    eval 'sub PCR_TOCEL () {0x4000;}' unless defined(&PCR_TOCEL);
    eval 'sub PCR_TODIS () {0x2000;}' unless defined(&PCR_TODIS);
    eval 'sub PCR_RPTR () {0x1000;}' unless defined(&PCR_RPTR);
    eval 'sub PCR_ENCSEL () {0x800;}' unless defined(&PCR_ENCSEL);
    eval 'sub PCR_20MENB () {0x100;}' unless defined(&PCR_20MENB);
    eval 'sub PCR_25MDIS () {0x80;}' unless defined(&PCR_25MDIS);
    eval 'sub PCR_FGLNKTX () {0x40;}' unless defined(&PCR_FGLNKTX);
    eval 'sub PCR_FCONNT () {0x20;}' unless defined(&PCR_FCONNT);
    eval 'sub PCR_TXOFF () {0x10;}' unless defined(&PCR_TXOFF);
    eval 'sub PCR_LEDTSL () {0x2;}' unless defined(&PCR_LEDTSL);
    eval 'sub PCR_LEDPSL () {0x1;}' unless defined(&PCR_LEDPSL);
    eval 'sub MII_MTDPHY_LBCR () {0x18;}' unless defined(&MII_MTDPHY_LBCR);
    eval 'sub LBCR_BP4B5B () {0x4000;}' unless defined(&LBCR_BP4B5B);
    eval 'sub LBCR_BPSCRM () {0x2000;}' unless defined(&LBCR_BPSCRM);
    eval 'sub LBCR_BPALGN () {0x1000;}' unless defined(&LBCR_BPALGN);
    eval 'sub LBCR_LBK10 () {0x800;}' unless defined(&LBCR_LBK10);
    eval 'sub LBCR_LBK1 () {0x200;}' unless defined(&LBCR_LBK1);
    eval 'sub LBCR_LBK0 () {0x100;}' unless defined(&LBCR_LBK0);
    eval 'sub LBCR_FDCRS () {0x40;}' unless defined(&LBCR_FDCRS);
    eval 'sub LBCR_CERR () {0x10;}' unless defined(&LBCR_CERR);
    eval 'sub LBCR_PERR () {0x8;}' unless defined(&LBCR_PERR);
    eval 'sub LBCR_LERR () {0x4;}' unless defined(&LBCR_LERR);
    eval 'sub LBCR_FERR () {0x2;}' unless defined(&LBCR_FERR);
    eval 'sub MII_MTDPHY_PAR () {0x19;}' unless defined(&MII_MTDPHY_PAR);
    eval 'sub PAR_ANS () {0x400;}' unless defined(&PAR_ANS);
    eval 'sub PAR_FEFE () {0x100;}' unless defined(&PAR_FEFE);
    eval 'sub PAR_DPLX () {0x80;}' unless defined(&PAR_DPLX);
    eval 'sub PAR_SPD () {0x40;}' unless defined(&PAR_SPD);
    eval 'sub PAR_CONN () {0x20;}' unless defined(&PAR_CONN);
    eval 'sub PAR_PHYADDR_MASK () {0x1f;}' unless defined(&PAR_PHYADDR_MASK);
    eval 'sub MII_MTDPHY_10SR () {0x1b;}' unless defined(&MII_MTDPHY_10SR);
    eval 'sub TENSR_10BTSER () {0x200;}' unless defined(&TENSR_10BTSER);
    eval 'sub TENSR_POLST () {0x1;}' unless defined(&TENSR_POLST);
    eval 'sub MII_MTDPHY_10CR () {0x1c;}' unless defined(&MII_MTDPHY_10CR);
    eval 'sub TENCR_LOE () {0x20;}' unless defined(&TENCR_LOE);
    eval 'sub TENCR_HBE () {0x10;}' unless defined(&TENCR_HBE);
    eval 'sub TENCR_UTPV () {0x8;}' unless defined(&TENCR_UTPV);
    eval 'sub TENCR_LSS () {0x4;}' unless defined(&TENCR_LSS);
    eval 'sub TENCR_PENB () {0x2;}' unless defined(&TENCR_PENB);
    eval 'sub TENCR_JEN () {0x1;}' unless defined(&TENCR_JEN);
}
1;
