require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_EISA_EISAVAR_H_)) {
    eval 'sub _DEV_EISA_EISAVAR_H_ () {1;}' unless defined(&_DEV_EISA_EISAVAR_H_);
    require 'machine/bus.ph';
    require 'dev/eisa/eisareg.ph';
    if(defined(&__alpha__)) {
	require 'alpha/eisa/eisa_machdep.ph';
    }
 elsif(defined(&__i386__)) {
	require 'i386/eisa/eisa_machdep.ph';
    } else {
	require 'machine/eisa_machdep.ph';
    }
    eval 'sub eisacf_slot () { $cf_loc[0];}' unless defined(&eisacf_slot);
    eval 'sub EISA_UNKNOWN_SLOT () {-1;}' unless defined(&EISA_UNKNOWN_SLOT);
}
1;
