require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_TQPHYREG_H_)) {
    eval 'sub _DEV_MII_TQPHYREG_H_ () {1;}' unless defined(&_DEV_MII_TQPHYREG_H_);
    eval 'sub MII_TQPHY_VENDOR () {0x10;}' unless defined(&MII_TQPHY_VENDOR);
    eval 'sub VENDOR_RPTR () {0x8000;}' unless defined(&VENDOR_RPTR);
    eval 'sub VENDOR_INTLEVEL () {0x4000;}' unless defined(&VENDOR_INTLEVEL);
    eval 'sub VENDOR_RSVD1 () {0x2000;}' unless defined(&VENDOR_RSVD1);
    eval 'sub VENDOR_TXHIM () {0x1000;}' unless defined(&VENDOR_TXHIM);
    eval 'sub VENDOR_SEQTESTINHIBIT () {0x800;}' unless defined(&VENDOR_SEQTESTINHIBIT);
    eval 'sub VENDOR_10BT_LOOPBACK () {0x400;}' unless defined(&VENDOR_10BT_LOOPBACK);
    eval 'sub VENDOR_GPIO1_DAT () {0x200;}' unless defined(&VENDOR_GPIO1_DAT);
    eval 'sub VENDOR_GPIO1_DIR () {0x100;}' unless defined(&VENDOR_GPIO1_DIR);
    eval 'sub VENDOR_GPIO0_DAT () {0x80;}' unless defined(&VENDOR_GPIO0_DAT);
    eval 'sub VENDOR_GPIO0_DIR () {0x40;}' unless defined(&VENDOR_GPIO0_DIR);
    eval 'sub VENDOR_APOL () {0x20;}' unless defined(&VENDOR_APOL);
    eval 'sub VENDOR_RVSPOL () {0x10;}' unless defined(&VENDOR_RVSPOL);
    eval 'sub VENDOR_RSVD2 () {0x8;}' unless defined(&VENDOR_RSVD2);
    eval 'sub VENDOR_RSVD3 () {0x4;}' unless defined(&VENDOR_RSVD3);
    eval 'sub VENDOR_PCSBP () {0x2;}' unless defined(&VENDOR_PCSBP);
    eval 'sub VENDOR_RXCC () {0x1;}' unless defined(&VENDOR_RXCC);
    eval 'sub MII_TQPHY_INTR () {0x11;}' unless defined(&MII_TQPHY_INTR);
    eval 'sub INTR_JABBER_IE () {0x8000;}' unless defined(&INTR_JABBER_IE);
    eval 'sub INTR_RXER_IE () {0x4000;}' unless defined(&INTR_RXER_IE);
    eval 'sub INTR_PRX_IE () {0x2000;}' unless defined(&INTR_PRX_IE);
    eval 'sub INTR_PFD_IE () {0x1000;}' unless defined(&INTR_PFD_IE);
    eval 'sub INTR_LPACK_IE () {0x800;}' unless defined(&INTR_LPACK_IE);
    eval 'sub INTR_LSCHG_IE () {0x400;}' unless defined(&INTR_LSCHG_IE);
    eval 'sub INTR_RFAULT_IE () {0x200;}' unless defined(&INTR_RFAULT_IE);
    eval 'sub INTR_ANEGCOMP_IE () {0x100;}' unless defined(&INTR_ANEGCOMP_IE);
    eval 'sub INTR_JABBER_INT () {0x80;}' unless defined(&INTR_JABBER_INT);
    eval 'sub INTR_RXER_INT () {0x40;}' unless defined(&INTR_RXER_INT);
    eval 'sub INTR_PRX_INT () {0x20;}' unless defined(&INTR_PRX_INT);
    eval 'sub INTR_PDF_INT () {0x10;}' unless defined(&INTR_PDF_INT);
    eval 'sub INTR_LPACK_INT () {0x8;}' unless defined(&INTR_LPACK_INT);
    eval 'sub INTR_LSCHG_INT () {0x4;}' unless defined(&INTR_LSCHG_INT);
    eval 'sub INTR_RFAULT_INT () {0x2;}' unless defined(&INTR_RFAULT_INT);
    eval 'sub INTR_ANEGCOMP_INT () {0x1;}' unless defined(&INTR_ANEGCOMP_INT);
    eval 'sub MII_TQPHY_DIAG () {0x12;}' unless defined(&MII_TQPHY_DIAG);
    eval 'sub DIAG_ANEGF () {0x1000;}' unless defined(&DIAG_ANEGF);
    eval 'sub DIAG_DPLX () {0x800;}' unless defined(&DIAG_DPLX);
    eval 'sub DIAG_RATE () {0x400;}' unless defined(&DIAG_RATE);
    eval 'sub DIAG_RXPASS () {0x200;}' unless defined(&DIAG_RXPASS);
    eval 'sub DIAG_RXLOCK () {0x100;}' unless defined(&DIAG_RXLOCK);
}
1;
