require '_h2ph_pre.ph';

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 () {0x0800;}' unless defined(&SCR_RDSI);
    eval 'sub SCR_100TXPD () {0x0400;}' unless defined(&SCR_100TXPD);
    eval 'sub SCR_10TPD () {0x0200;}' unless defined(&SCR_10TPD);
    eval 'sub SCR_POLARITY () {0x0100;}' unless defined(&SCR_POLARITY);
    eval 'sub SCR_T4 () {0x0004;}' unless defined(&SCR_T4);
    eval 'sub SCR_S100 () {0x0002;}' unless defined(&SCR_S100);
    eval 'sub SCR_FDX () {0x0001;}' unless defined(&SCR_FDX);
    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 () {0x0800;}' unless defined(&SCTRL_GOODLINK);
    eval 'sub SCTRL_TCSD () {0x0200;}' unless defined(&SCTRL_TCSD);
    eval 'sub SCTRL_DDPD () {0x0100;}' unless defined(&SCTRL_DDPD);
    eval 'sub SCTRL_ANEGLOOP () {0x0080;}' unless defined(&SCTRL_ANEGLOOP);
    eval 'sub SCTRL_MDITRISTATE () {0x0040;}' unless defined(&SCTRL_MDITRISTATE);
    eval 'sub SCTRL_FILTERBYPASS () {0x0020;}' unless defined(&SCTRL_FILTERBYPASS);
    eval 'sub SCTRL_AUTOPOLDIS () {0x0010;}' unless defined(&SCTRL_AUTOPOLDIS);
    eval 'sub SCTRL_SQUELCHDIS () {0x0008;}' unless defined(&SCTRL_SQUELCHDIS);
    eval 'sub SCTRL_EXTSQUELCH () {0x0004;}' unless defined(&SCTRL_EXTSQUELCH);
    eval 'sub SCTRL_LINKINTDIS () {0x0002;}' unless defined(&SCTRL_LINKINTDIS);
    eval 'sub SCTRL_JABBERDIS () {0x0001;}' unless defined(&SCTRL_JABBERDIS);
    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 () {0x0007;}' unless defined(&SCTRL2_LEDMASK);
    eval 'sub LEDMASK_ACTLINK () {0x0000;}' unless defined(&LEDMASK_ACTLINK);
    eval 'sub LEDMASK_SPDCOLL () {0x0001;}' unless defined(&LEDMASK_SPDCOLL);
    eval 'sub LEDMASK_SPDLINK () {0x0002;}' unless defined(&LEDMASK_SPDLINK);
    eval 'sub LEDMASK_ACTCOLL () {0x0003;}' unless defined(&LEDMASK_ACTCOLL);
    eval 'sub LEDMASK_OFFOFF () {0x0004;}' unless defined(&LEDMASK_OFFOFF);
    eval 'sub LEDMASK_OFFON () {0x0005;}' unless defined(&LEDMASK_OFFON);
    eval 'sub LEDMASK_ONOFF () {0x0006;}' unless defined(&LEDMASK_ONOFF);
    eval 'sub LESMASK_ONON () {0x0007;}' unless defined(&LESMASK_ONON);
}
1;
