require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&__DEV_IC_MTD8XXVAR_H__)) {
    eval 'sub __DEV_IC_MTD8XXVAR_H__ () {1;}' unless defined(&__DEV_IC_MTD8XXVAR_H__);
    eval 'sub MTD_RX_LIST_CNT () {64;}' unless defined(&MTD_RX_LIST_CNT);
    eval 'sub MTD_TX_LIST_CNT () {128;}' unless defined(&MTD_TX_LIST_CNT);
    eval 'sub TSW_OWN () {0x80000000;}' unless defined(&TSW_OWN);
    eval 'sub TSW_TXERR () {0x8000;}' unless defined(&TSW_TXERR);
    eval 'sub TSW_ABORT () {0x2000;}' unless defined(&TSW_ABORT);
    eval 'sub TSW_CSL () {0x1000;}' unless defined(&TSW_CSL);
    eval 'sub TSW_LC () {0x800;}' unless defined(&TSW_LC);
    eval 'sub TSW_EC () {0x400;}' unless defined(&TSW_EC);
    eval 'sub TSW_DFR () {0x200;}' unless defined(&TSW_DFR);
    eval 'sub TSW_HF () {0x100;}' unless defined(&TSW_HF);
    eval 'sub TSW_NCR_MASK () {0xff;}' unless defined(&TSW_NCR_MASK);
    eval 'sub TSW_NCR_SHIFT () {0;}' unless defined(&TSW_NCR_SHIFT);
    eval 'sub TSW_NCR_GET {
        my($x) = @_;
	    eval q(((($x) &  &TSW_NCR_MASK) >>  &TSW_NCR_SHIFT));
    }' unless defined(&TSW_NCR_GET);
    eval 'sub TSW_UNSENT () {0x1234;}' unless defined(&TSW_UNSENT);
    eval 'sub TCW_IC () {0x80000000;}' unless defined(&TCW_IC);
    eval 'sub TCW_EIC () {0x40000000;}' unless defined(&TCW_EIC);
    eval 'sub TCW_LD () {0x20000000;}' unless defined(&TCW_LD);
    eval 'sub TCW_FD () {0x10000000;}' unless defined(&TCW_FD);
    eval 'sub TCW_CRC () {0x8000000;}' unless defined(&TCW_CRC);
    eval 'sub TCW_PAD () {0x4000000;}' unless defined(&TCW_PAD);
    eval 'sub TCW_RTLC () {0x2000000;}' unless defined(&TCW_RTLC);
    eval 'sub TCW_PKTS_MASK () {0x3ff8;}' unless defined(&TCW_PKTS_MASK);
    eval 'sub TCW_PKTS_SHIFT () {11;}' unless defined(&TCW_PKTS_SHIFT);
    eval 'sub TCW_PKTS_GET {
        my($x) = @_;
	    eval q(((($x) &  &TCW_PKTS_MASK) >>  &TCW_PKTS_SHIFT));
    }' unless defined(&TCW_PKTS_GET);
    eval 'sub TCW_TBS_MASK () {0x7ff;}' unless defined(&TCW_TBS_MASK);
    eval 'sub TCW_TBS_SHIFT () {0;}' unless defined(&TCW_TBS_SHIFT);
    eval 'sub TCW_TBS_GET {
        my($x) = @_;
	    eval q(((($x) &  &TCW_TBS_MASK) >>  &TCW_TBS_SHIFT));
    }' unless defined(&TCW_TBS_GET);
    eval 'sub RSR_OWN () {0x80000000;}' unless defined(&RSR_OWN);
    eval 'sub RSR_FLNG_MASK () {0xfff0000;}' unless defined(&RSR_FLNG_MASK);
    eval 'sub RSR_FLNG_SHIFT () {16;}' unless defined(&RSR_FLNG_SHIFT);
    eval 'sub RSR_FLNG_GET {
        my($x) = @_;
	    eval q(((($x) &  &RSR_FLNG_MASK) >>  &RSR_FLNG_SHIFT));
    }' unless defined(&RSR_FLNG_GET);
    eval 'sub RSR_MAR () {0x4000;}' unless defined(&RSR_MAR);
    eval 'sub RSR_BAR () {0x2000;}' unless defined(&RSR_BAR);
    eval 'sub RSR_PHY () {0x1000;}' unless defined(&RSR_PHY);
    eval 'sub RSR_FSD () {0x800;}' unless defined(&RSR_FSD);
    eval 'sub RSR_LSD () {0x400;}' unless defined(&RSR_LSD);
    eval 'sub RSR_ES () {0x80;}' unless defined(&RSR_ES);
    eval 'sub RSR_RUNT () {0x40;}' unless defined(&RSR_RUNT);
    eval 'sub RSR_LONG () {0x20;}' unless defined(&RSR_LONG);
    eval 'sub RSR_FAE () {0x10;}' unless defined(&RSR_FAE);
    eval 'sub RSR_CRC () {0x8;}' unless defined(&RSR_CRC);
    eval 'sub RSR_RXER () {0x4;}' unless defined(&RSR_RXER);
    eval 'sub RCW_RBS_MASK () {0x7ff;}' unless defined(&RCW_RBS_MASK);
    eval 'sub RCW_RBS_SHIFT () {0;}' unless defined(&RCW_RBS_SHIFT);
    eval 'sub RCW_RBS_GET {
        my($x) = @_;
	    eval q(((($x) &  &RCW_RBS_MASK) >>  &RCW_RBS_SHIFT));
    }' unless defined(&RCW_RBS_GET);
}
1;
