require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_TXPHYREG_H_)) {
    eval 'sub _DEV_MII_TXPHYREG_H_ () {1;}' unless defined(&_DEV_MII_TXPHYREG_H_);
    eval 'sub MII_TXPHY_ID () {0x10;}' unless defined(&MII_TXPHY_ID);
    eval 'sub MII_TXPHY_CTL () {0x11;}' unless defined(&MII_TXPHY_CTL);
    eval 'sub TXCTL_IGLINK () {0x8000;}' unless defined(&TXCTL_IGLINK);
    eval 'sub TXCTL_SWAPOL () {0x4000;}' unless defined(&TXCTL_SWAPOL);
    eval 'sub TXCTL_MANCONF () {0x2000;}' unless defined(&TXCTL_MANCONF);
    eval 'sub TXCTL_SQEEN () {0x1000;}' unless defined(&TXCTL_SQEEN);
    eval 'sub TXCTL_MTEST () {0x800;}' unless defined(&TXCTL_MTEST);
    eval 'sub TXCTL_FIBER () {0x400;}' unless defined(&TXCTL_FIBER);
    eval 'sub TXCTL_FEFEN () {0x200;}' unless defined(&TXCTL_FEFEN);
    eval 'sub TXCTL_NOENDEC () {0x100;}' unless defined(&TXCTL_NOENDEC);
    eval 'sub TXCTL_NOALIGN () {0x80;}' unless defined(&TXCTL_NOALIGN);
    eval 'sub TXCTL_DUPONLY () {0x40;}' unless defined(&TXCTL_DUPONLY);
    eval 'sub TXCTL_REPEATER () {0x20;}' unless defined(&TXCTL_REPEATER);
    eval 'sub TXCTL_RXRESET () {0x10;}' unless defined(&TXCTL_RXRESET);
    eval 'sub TXCTL_NOLINKP () {0x8;}' unless defined(&TXCTL_NOLINKP);
    eval 'sub TXCTL_NFEW () {0x4;}' unless defined(&TXCTL_NFEW);
    eval 'sub TXCTL_INTEN () {0x2;}' unless defined(&TXCTL_INTEN);
    eval 'sub TXCTL_TINT () {0x1;}' unless defined(&TXCTL_TINT);
    eval 'sub MII_TXPHY_STS () {0x12;}' unless defined(&MII_TXPHY_STS);
    eval 'sub TXSTS_MINT () {0x8000;}' unless defined(&TXSTS_MINT);
    eval 'sub TXSTS_PHOK () {0x4000;}' unless defined(&TXSTS_PHOK);
    eval 'sub TXSTS_PLOK () {0x2000;}' unless defined(&TXSTS_PLOK);
    eval 'sub TXSTS_TPENERGY () {0x1000;}' unless defined(&TXSTS_TPENERGY);
    eval 'sub TXSTS_SYNCLOSS () {0x800;}' unless defined(&TXSTS_SYNCLOSS);
    eval 'sub TXSTS_FEFI () {0x400;}' unless defined(&TXSTS_FEFI);
}
1;
