require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_LXTPHYREG_H_)) {
    eval 'sub _DEV_MII_LXTPHYREG_H_ () {1;}' unless defined(&_DEV_MII_LXTPHYREG_H_);
    eval 'sub MII_LXTPHY_MIRROR () {0x10;}' unless defined(&MII_LXTPHY_MIRROR);
    eval 'sub MII_LXTPHY_IER () {0x11;}' unless defined(&MII_LXTPHY_IER);
    eval 'sub IER_MIIDRVLVL () {0x8;}' unless defined(&IER_MIIDRVLVL);
    eval 'sub IER_LNK_CRITERIA () {0x4;}' unless defined(&IER_LNK_CRITERIA);
    eval 'sub IER_INTEN () {0x2;}' unless defined(&IER_INTEN);
    eval 'sub IER_TINT () {0x1;}' unless defined(&IER_TINT);
    eval 'sub MII_LXTPHY_ISR () {0x12;}' unless defined(&MII_LXTPHY_ISR);
    eval 'sub ISR_MINT () {0x8000;}' unless defined(&ISR_MINT);
    eval 'sub ISR_XTALOK () {0x4000;}' unless defined(&ISR_XTALOK);
    eval 'sub MII_LXTPHY_CONFIG () {0x13;}' unless defined(&MII_LXTPHY_CONFIG);
    eval 'sub CONFIG_TXMIT_TEST () {0x4000;}' unless defined(&CONFIG_TXMIT_TEST);
    eval 'sub CONFIG_REPEATER () {0x2000;}' unless defined(&CONFIG_REPEATER);
    eval 'sub CONFIG_MDIO_INT () {0x1000;}' unless defined(&CONFIG_MDIO_INT);
    eval 'sub CONFIG_TPLOOP () {0x800;}' unless defined(&CONFIG_TPLOOP);
    eval 'sub CONFIG_SQE () {0x400;}' unless defined(&CONFIG_SQE);
    eval 'sub CONFIG_DISJABBER () {0x200;}' unless defined(&CONFIG_DISJABBER);
    eval 'sub CONFIG_DISLINKTEST () {0x100;}' unless defined(&CONFIG_DISLINKTEST);
    eval 'sub CONFIG_LEDC1 () {0x80;}' unless defined(&CONFIG_LEDC1);
    eval 'sub CONFIG_LEDC0 () {0x40;}' unless defined(&CONFIG_LEDC0);
    eval 'sub CONFIG_ADVTXCLK () {0x20;}' unless defined(&CONFIG_ADVTXCLK);
    eval 'sub CONFIG_5BSYMBOL () {0x10;}' unless defined(&CONFIG_5BSYMBOL);
    eval 'sub CONFIG_SCRAMBLER () {0x8;}' unless defined(&CONFIG_SCRAMBLER);
    eval 'sub CONFIG_100BASEFX () {0x4;}' unless defined(&CONFIG_100BASEFX);
    eval 'sub CONFIG_TXDISCON () {0x1;}' unless defined(&CONFIG_TXDISCON);
    eval 'sub MII_LXTPHY_CSR () {0x14;}' unless defined(&MII_LXTPHY_CSR);
    eval 'sub CSR_LINK () {0x2000;}' unless defined(&CSR_LINK);
    eval 'sub CSR_DUPLEX () {0x1000;}' unless defined(&CSR_DUPLEX);
    eval 'sub CSR_SPEED () {0x800;}' unless defined(&CSR_SPEED);
    eval 'sub CSR_ACOMP () {0x400;}' unless defined(&CSR_ACOMP);
    eval 'sub CSR_PAGERCVD () {0x200;}' unless defined(&CSR_PAGERCVD);
    eval 'sub CSR_LOWVCC () {0x4;}' unless defined(&CSR_LOWVCC);
}
1;
