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, $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));
    }' unless defined(&DEVICE_IS_VGA_PCI);
    eval("sub AGP_ACQUIRE_FREE () { 0; }") unless defined(&AGP_ACQUIRE_FREE);
    eval("sub AGP_ACQUIRE_USER () { 1; }") unless defined(&AGP_ACQUIRE_USER);
    eval("sub AGP_ACQUIRE_KERNEL () { 2; }") unless defined(&AGP_ACQUIRE_KERNEL);
    if(0) {
    }
    if(defined(&VESAFB)) {
    }
    if(defined(&PCIAGP)) {
    }
    if(defined(&PCIAGP)) {
    }
    if(defined(&VESAFB)) {
    }
}
1;
