require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_INPHYREG_H_)) {
    eval 'sub _DEV_MII_INPHYREG_H_ () {1;}' unless defined(&_DEV_MII_INPHYREG_H_);
    eval 'sub MII_INPHY_SCR () {0x10;}' unless defined(&MII_INPHY_SCR);
    eval 'sub SCR_FLOWCTL () {0x8000;}' unless defined(&SCR_FLOWCTL);
    eval 'sub SCR_CSDC () {0x2000;}' unless defined(&SCR_CSDC);
    eval 'sub SCR_TFCD () {0x1000;}' unless defined(&SCR_TFCD);
    eval 'sub SCR_RDSI () {0x800;}' unless defined(&SCR_RDSI);
    eval 'sub SCR_100TXPD () {0x400;}' unless defined(&SCR_100TXPD);
    eval 'sub SCR_10TPD () {0x200;}' unless defined(&SCR_10TPD);
    eval 'sub SCR_POLARITY () {0x100;}' unless defined(&SCR_POLARITY);
    eval 'sub SCR_T4 () {0x4;}' unless defined(&SCR_T4);
    eval 'sub SCR_S100 () {0x2;}' unless defined(&SCR_S100);
    eval 'sub SCR_FDX () {0x1;}' unless defined(&SCR_FDX);
    eval 'sub SCR_PHYADDR_M () {0x7c;}' unless defined(&SCR_PHYADDR_M);
    eval 'sub SCR_PHYADDR_S () {2;}' unless defined(&SCR_PHYADDR_S);
    eval 'sub MII_INPHY_SCTRL () {0x11;}' unless defined(&MII_INPHY_SCTRL);
    eval 'sub SCTRL_SCRBYPASS () {0x8000;}' unless defined(&SCTRL_SCRBYPASS);
    eval 'sub SCTRL_4B5BNYPASS () {0x4000;}' unless defined(&SCTRL_4B5BNYPASS);
    eval 'sub SCTRL_FTHP () {0x2000;}' unless defined(&SCTRL_FTHP);
    eval 'sub SCTRL_F34TP () {0x1000;}' unless defined(&SCTRL_F34TP);
    eval 'sub SCTRL_GOODLINK () {0x800;}' unless defined(&SCTRL_GOODLINK);
    eval 'sub SCTRL_TCSD () {0x200;}' unless defined(&SCTRL_TCSD);
    eval 'sub SCTRL_DDPD () {0x100;}' unless defined(&SCTRL_DDPD);
    eval 'sub SCTRL_ANEGLOOP () {0x80;}' unless defined(&SCTRL_ANEGLOOP);
    eval 'sub SCTRL_MDITRISTATE () {0x40;}' unless defined(&SCTRL_MDITRISTATE);
    eval 'sub SCTRL_FILTERBYPASS () {0x20;}' unless defined(&SCTRL_FILTERBYPASS);
    eval 'sub SCTRL_AUTOPOLDIS () {0x10;}' unless defined(&SCTRL_AUTOPOLDIS);
    eval 'sub SCTRL_SQUELCHDIS () {0x8;}' unless defined(&SCTRL_SQUELCHDIS);
    eval 'sub SCTRL_EXTSQUELCH () {0x4;}' unless defined(&SCTRL_EXTSQUELCH);
    eval 'sub SCTRL_LINKINTDIS () {0x2;}' unless defined(&SCTRL_LINKINTDIS);
    eval 'sub SCTRL_JABBERDIS () {0x1;}' unless defined(&SCTRL_JABBERDIS);
    eval 'sub SCTRL_SRE () {0x400;}' unless defined(&SCTRL_SRE);
    eval 'sub SCTRL_FORCEPOL () {0x20;}' unless defined(&SCTRL_FORCEPOL);
    eval 'sub MII_INPHY_PHYADDR () {0x12;}' unless defined(&MII_INPHY_PHYADDR);
    eval 'sub MII_INPHY_100TXFCC () {0x13;}' unless defined(&MII_INPHY_100TXFCC);
    eval 'sub MII_INPHY_100TXRDC () {0x14;}' unless defined(&MII_INPHY_100TXRDC);
    eval 'sub MII_INPHY_100TXREFC () {0x15;}' unless defined(&MII_INPHY_100TXREFC);
    eval 'sub MII_INPHY_RSEC () {0x16;}' unless defined(&MII_INPHY_RSEC);
    eval 'sub MII_INPHY_100TXRPEOFC () {0x17;}' unless defined(&MII_INPHY_100TXRPEOFC);
    eval 'sub MII_INPHY_10TREOFC () {0x18;}' unless defined(&MII_INPHY_10TREOFC);
    eval 'sub MII_INPHY_10TTJDC () {0x19;}' unless defined(&MII_INPHY_10TTJDC);
    eval 'sub MII_INPHY_SCTRL2 () {0x1b;}' unless defined(&MII_INPHY_SCTRL2);
    eval 'sub SCTRL2_LEDMASK () {0x7;}' unless defined(&SCTRL2_LEDMASK);
    eval 'sub LEDMASK_ACTLINK () {0x;}' unless defined(&LEDMASK_ACTLINK);
    eval 'sub LEDMASK_SPDCOLL () {0x1;}' unless defined(&LEDMASK_SPDCOLL);
    eval 'sub LEDMASK_SPDLINK () {0x2;}' unless defined(&LEDMASK_SPDLINK);
    eval 'sub LEDMASK_ACTCOLL () {0x3;}' unless defined(&LEDMASK_ACTCOLL);
    eval 'sub LEDMASK_OFFOFF () {0x4;}' unless defined(&LEDMASK_OFFOFF);
    eval 'sub LEDMASK_OFFON () {0x5;}' unless defined(&LEDMASK_OFFON);
    eval 'sub LEDMASK_ONOFF () {0x6;}' unless defined(&LEDMASK_ONOFF);
    eval 'sub LESMASK_ONON () {0x7;}' unless defined(&LESMASK_ONON);
}
1;
