require '_h2ph_pre.ph';

unless(defined(&DEVICE_IS_VGA_PCI)) {
    sub DEVICE_IS_VGA_PCI {
	local($class, $id) = @_;
	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));
    }
}
1;
