require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_IC_NE2000VAR_H_)) {
    eval 'sub _DEV_IC_NE2000VAR_H_ () {1;}' unless defined(&_DEV_IC_NE2000VAR_H_);
    eval 'sub NE2000_TYPE_NE1000 () {1;}' unless defined(&NE2000_TYPE_NE1000);
    eval 'sub NE2000_TYPE_NE2000 () {2;}' unless defined(&NE2000_TYPE_NE2000);
    eval 'sub NE2000_TYPE_DL10019 () {3;}' unless defined(&NE2000_TYPE_DL10019);
    eval 'sub NE2000_TYPE_DL10022 () {4;}' unless defined(&NE2000_TYPE_DL10022);
    eval 'sub NE2000_TYPE_AX88190 () {5;}' unless defined(&NE2000_TYPE_AX88190);
    eval 'sub NE2000_USE_WORD {
        local($sc) = @_;
	    eval q(((($sc)-> &sc_type ==  &NE2000_TYPE_NE2000) || (($sc)-> &sc_type ==  &NE2000_TYPE_DL10019) || (($sc)-> &sc_type ==  &NE2000_TYPE_DL10022) || (($sc)-> &sc_type ==  &NE2000_TYPE_AX88190)));
    }' unless defined(&NE2000_USE_WORD);
}
1;
