require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_PCI_VGA_PCIVAR_H_)) {
    eval 'sub _PCI_VGA_PCIVAR_H_ () {1;}' unless defined(&_PCI_VGA_PCIVAR_H_);
    eval 'sub DEVICE_IS_VGA_PCI {
        my($class) = @_;
	    eval q(((( &PCI_CLASS($class) ==  &PCI_CLASS_DISPLAY  &&  &PCI_SUBCLASS($class) ==  &PCI_SUBCLASS_DISPLAY_VGA) || ( &PCI_CLASS($class) ==  &PCI_CLASS_PREHISTORIC  &&  &PCI_SUBCLASS($class) ==  &PCI_SUBCLASS_PREHISTORIC_VGA)) ? 1: 0));
    }' unless defined(&DEVICE_IS_VGA_PCI);
    eval 'sub VGA_PCI_MAX_BARS () {6;}' unless defined(&VGA_PCI_MAX_BARS);
    if(defined(&VESAFB)) {
    }
    if(defined(&VESAFB)) {
    }
}
1;
