require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_PCI_AGPREG_H_)) {
    eval 'sub _PCI_AGPREG_H_ () {1;}' unless defined(&_PCI_AGPREG_H_);
    eval 'sub AGP_APBASE () {0x10;}' unless defined(&AGP_APBASE);
    eval 'sub AGP_CAPID () {0x2;}' unless defined(&AGP_CAPID);
    eval 'sub AGP_CAPID_GET_MAJOR {
        my($x) = @_;
	    eval q(((($x) & 0xf00000) >> 20));
    }' unless defined(&AGP_CAPID_GET_MAJOR);
    eval 'sub AGP_CAPID_GET_MINOR {
        my($x) = @_;
	    eval q(((($x) & 0xf0000) >> 16));
    }' unless defined(&AGP_CAPID_GET_MINOR);
    eval 'sub AGP_CAPID_GET_NEXT_PTR {
        my($x) = @_;
	    eval q(((($x) & 0xff00) >> 8));
    }' unless defined(&AGP_CAPID_GET_NEXT_PTR);
    eval 'sub AGP_CAPID_GET_CAP_ID {
        my($x) = @_;
	    eval q(((($x) & 0xff) >> 0));
    }' unless defined(&AGP_CAPID_GET_CAP_ID);
    eval 'sub AGP_STATUS () {0x4;}' unless defined(&AGP_STATUS);
    eval 'sub AGP_COMMAND () {0x8;}' unless defined(&AGP_COMMAND);
    eval 'sub AGP_INTEL_NBXCFG () {0x50;}' unless defined(&AGP_INTEL_NBXCFG);
    eval 'sub AGP_INTEL_STS () {0x90;}' unless defined(&AGP_INTEL_STS);
    eval 'sub AGP_INTEL_AGPCTRL () {0xb0;}' unless defined(&AGP_INTEL_AGPCTRL);
    eval 'sub AGP_INTEL_APSIZE () {0xb4;}' unless defined(&AGP_INTEL_APSIZE);
    eval 'sub AGP_INTEL_ATTBASE () {0xb8;}' unless defined(&AGP_INTEL_ATTBASE);
    eval 'sub AGP_VIA_GARTCTRL () {0x80;}' unless defined(&AGP_VIA_GARTCTRL);
    eval 'sub AGP_VIA_APSIZE () {0x84;}' unless defined(&AGP_VIA_APSIZE);
    eval 'sub AGP_VIA_ATTBASE () {0x88;}' unless defined(&AGP_VIA_ATTBASE);
    eval 'sub AGP_SIS_ATTBASE () {0x90;}' unless defined(&AGP_SIS_ATTBASE);
    eval 'sub AGP_SIS_WINCTRL () {0x94;}' unless defined(&AGP_SIS_WINCTRL);
    eval 'sub AGP_SIS_TLBCTRL () {0x97;}' unless defined(&AGP_SIS_TLBCTRL);
    eval 'sub AGP_SIS_TLBFLUSH () {0x98;}' unless defined(&AGP_SIS_TLBFLUSH);
    eval 'sub AGP_ALI_AGPCTRL () {0xb8;}' unless defined(&AGP_ALI_AGPCTRL);
    eval 'sub AGP_ALI_ATTBASE () {0xbc;}' unless defined(&AGP_ALI_ATTBASE);
    eval 'sub AGP_ALI_TLBCTRL () {0xc0;}' unless defined(&AGP_ALI_TLBCTRL);
    eval 'sub AGP_AMD751_REGISTERS () {0x14;}' unless defined(&AGP_AMD751_REGISTERS);
    eval 'sub AGP_AMD751_APCTRL () {0xac;}' unless defined(&AGP_AMD751_APCTRL);
    eval 'sub AGP_AMD751_MODECTRL () {0xb0;}' unless defined(&AGP_AMD751_MODECTRL);
    eval 'sub AGP_AMD751_MODECTRL_SYNEN () {0x80;}' unless defined(&AGP_AMD751_MODECTRL_SYNEN);
    eval 'sub AGP_AMD751_MODECTRL2 () {0xb2;}' unless defined(&AGP_AMD751_MODECTRL2);
    eval 'sub AGP_AMD751_MODECTRL2_G1LM () {0x1;}' unless defined(&AGP_AMD751_MODECTRL2_G1LM);
    eval 'sub AGP_AMD751_MODECTRL2_GPDCE () {0x2;}' unless defined(&AGP_AMD751_MODECTRL2_GPDCE);
    eval 'sub AGP_AMD751_MODECTRL2_NGSE () {0x8;}' unless defined(&AGP_AMD751_MODECTRL2_NGSE);
    eval 'sub AGP_AMD751_CAPS () {0x;}' unless defined(&AGP_AMD751_CAPS);
    eval 'sub AGP_AMD751_CAPS_EHI () {0x800;}' unless defined(&AGP_AMD751_CAPS_EHI);
    eval 'sub AGP_AMD751_CAPS_P2P () {0x400;}' unless defined(&AGP_AMD751_CAPS_P2P);
    eval 'sub AGP_AMD751_CAPS_MPC () {0x200;}' unless defined(&AGP_AMD751_CAPS_MPC);
    eval 'sub AGP_AMD751_CAPS_VBE () {0x100;}' unless defined(&AGP_AMD751_CAPS_VBE);
    eval 'sub AGP_AMD751_CAPS_REV () {0xff;}' unless defined(&AGP_AMD751_CAPS_REV);
    eval 'sub AGP_AMD751_STATUS () {0x2;}' unless defined(&AGP_AMD751_STATUS);
    eval 'sub AGP_AMD751_STATUS_P2PS () {0x800;}' unless defined(&AGP_AMD751_STATUS_P2PS);
    eval 'sub AGP_AMD751_STATUS_GCS () {0x400;}' unless defined(&AGP_AMD751_STATUS_GCS);
    eval 'sub AGP_AMD751_STATUS_MPS () {0x200;}' unless defined(&AGP_AMD751_STATUS_MPS);
    eval 'sub AGP_AMD751_STATUS_VBES () {0x100;}' unless defined(&AGP_AMD751_STATUS_VBES);
    eval 'sub AGP_AMD751_STATUS_P2PE () {0x8;}' unless defined(&AGP_AMD751_STATUS_P2PE);
    eval 'sub AGP_AMD751_STATUS_GCE () {0x4;}' unless defined(&AGP_AMD751_STATUS_GCE);
    eval 'sub AGP_AMD751_STATUS_VBEE () {0x1;}' unless defined(&AGP_AMD751_STATUS_VBEE);
    eval 'sub AGP_AMD751_ATTBASE () {0x4;}' unless defined(&AGP_AMD751_ATTBASE);
    eval 'sub AGP_AMD751_TLBCTRL () {0xc;}' unless defined(&AGP_AMD751_TLBCTRL);
    eval 'sub AGP_I810_SMRAM () {0x70;}' unless defined(&AGP_I810_SMRAM);
    eval 'sub AGP_I810_SMRAM_GMS () {0xc0;}' unless defined(&AGP_I810_SMRAM_GMS);
    eval 'sub AGP_I810_SMRAM_GMS_DISABLED () {0x;}' unless defined(&AGP_I810_SMRAM_GMS_DISABLED);
    eval 'sub AGP_I810_SMRAM_GMS_ENABLED_0 () {0x40;}' unless defined(&AGP_I810_SMRAM_GMS_ENABLED_0);
    eval 'sub AGP_I810_SMRAM_GMS_ENABLED_512 () {0x80;}' unless defined(&AGP_I810_SMRAM_GMS_ENABLED_512);
    eval 'sub AGP_I810_SMRAM_GMS_ENABLED_1024 () {0xc0;}' unless defined(&AGP_I810_SMRAM_GMS_ENABLED_1024);
    eval 'sub AGP_I810_MISCC () {0x72;}' unless defined(&AGP_I810_MISCC);
    eval 'sub AGP_I810_MISCC_WINSIZE () {0x1;}' unless defined(&AGP_I810_MISCC_WINSIZE);
    eval 'sub AGP_I810_MISCC_WINSIZE_64 () {0x;}' unless defined(&AGP_I810_MISCC_WINSIZE_64);
    eval 'sub AGP_I810_MISCC_WINSIZE_32 () {0x1;}' unless defined(&AGP_I810_MISCC_WINSIZE_32);
    eval 'sub AGP_I810_MISCC_PLCK () {0x8;}' unless defined(&AGP_I810_MISCC_PLCK);
    eval 'sub AGP_I810_MISCC_PLCK_UNLOCKED () {0x;}' unless defined(&AGP_I810_MISCC_PLCK_UNLOCKED);
    eval 'sub AGP_I810_MISCC_PLCK_LOCKED () {0x8;}' unless defined(&AGP_I810_MISCC_PLCK_LOCKED);
    eval 'sub AGP_I810_MISCC_WPTC () {0x30;}' unless defined(&AGP_I810_MISCC_WPTC);
    eval 'sub AGP_I810_MISCC_WPTC_NOLIMIT () {0x;}' unless defined(&AGP_I810_MISCC_WPTC_NOLIMIT);
    eval 'sub AGP_I810_MISCC_WPTC_62 () {0x10;}' unless defined(&AGP_I810_MISCC_WPTC_62);
    eval 'sub AGP_I810_MISCC_WPTC_50 () {0x20;}' unless defined(&AGP_I810_MISCC_WPTC_50);
    eval 'sub AGP_I810_MISCC_WPTC_37 () {0x30;}' unless defined(&AGP_I810_MISCC_WPTC_37);
    eval 'sub AGP_I810_MISCC_RPTC () {0xc0;}' unless defined(&AGP_I810_MISCC_RPTC);
    eval 'sub AGP_I810_MISCC_RPTC_NOLIMIT () {0x;}' unless defined(&AGP_I810_MISCC_RPTC_NOLIMIT);
    eval 'sub AGP_I810_MISCC_RPTC_62 () {0x40;}' unless defined(&AGP_I810_MISCC_RPTC_62);
    eval 'sub AGP_I810_MISCC_RPTC_50 () {0x80;}' unless defined(&AGP_I810_MISCC_RPTC_50);
    eval 'sub AGP_I810_MISCC_RPTC_37 () {0xc0;}' unless defined(&AGP_I810_MISCC_RPTC_37);
    eval 'sub AGP_I810_GMADR () {0x10;}' unless defined(&AGP_I810_GMADR);
    eval 'sub AGP_I810_MMADR () {0x14;}' unless defined(&AGP_I810_MMADR);
    eval 'sub AGP_I810_PGTBL_CTL () {0x2020;}' unless defined(&AGP_I810_PGTBL_CTL);
    eval 'sub AGP_I810_DRT () {0x3000;}' unless defined(&AGP_I810_DRT);
    eval 'sub AGP_I810_DRT_UNPOPULATED () {0x;}' unless defined(&AGP_I810_DRT_UNPOPULATED);
    eval 'sub AGP_I810_DRT_POPULATED () {0x1;}' unless defined(&AGP_I810_DRT_POPULATED);
    eval 'sub AGP_I810_GTT () {0x10000;}' unless defined(&AGP_I810_GTT);
    eval 'sub AGP_I830_GCC0 () {0x50;}' unless defined(&AGP_I830_GCC0);
    eval 'sub AGP_I830_GCC1 () {0x52;}' unless defined(&AGP_I830_GCC1);
    eval 'sub AGP_I830_GCC1_DEV2 () {0x8;}' unless defined(&AGP_I830_GCC1_DEV2);
    eval 'sub AGP_I830_GCC1_DEV2_ENABLED () {0x;}' unless defined(&AGP_I830_GCC1_DEV2_ENABLED);
    eval 'sub AGP_I830_GCC1_DEV2_DISABLED () {0x8;}' unless defined(&AGP_I830_GCC1_DEV2_DISABLED);
    eval 'sub AGP_I830_GCC1_GMS () {0x70;}' unless defined(&AGP_I830_GCC1_GMS);
    eval 'sub AGP_I830_GCC1_GMS_STOLEN_512 () {0x20;}' unless defined(&AGP_I830_GCC1_GMS_STOLEN_512);
    eval 'sub AGP_I830_GCC1_GMS_STOLEN_1024 () {0x30;}' unless defined(&AGP_I830_GCC1_GMS_STOLEN_1024);
    eval 'sub AGP_I830_GCC1_GMS_STOLEN_8192 () {0x40;}' unless defined(&AGP_I830_GCC1_GMS_STOLEN_8192);
    eval 'sub AGP_I830_GCC1_GMASIZE () {0x1;}' unless defined(&AGP_I830_GCC1_GMASIZE);
    eval 'sub AGP_I830_GCC1_GMASIZE_64 () {0x1;}' unless defined(&AGP_I830_GCC1_GMASIZE_64);
    eval 'sub AGP_I830_GCC1_GMASIZE_128 () {0x;}' unless defined(&AGP_I830_GCC1_GMASIZE_128);
    eval 'sub AGP_I855_GCC1 () {0x52;}' unless defined(&AGP_I855_GCC1);
    eval 'sub AGP_I855_GCC1_DEV2 () {0x8;}' unless defined(&AGP_I855_GCC1_DEV2);
    eval 'sub AGP_I855_GCC1_DEV2_ENABLED () {0x;}' unless defined(&AGP_I855_GCC1_DEV2_ENABLED);
    eval 'sub AGP_I855_GCC1_DEV2_DISABLED () {0x8;}' unless defined(&AGP_I855_GCC1_DEV2_DISABLED);
    eval 'sub AGP_I855_GCC1_GMS () {0x70;}' unless defined(&AGP_I855_GCC1_GMS);
    eval 'sub AGP_I855_GCC1_GMS_STOLEN_0M () {0x;}' unless defined(&AGP_I855_GCC1_GMS_STOLEN_0M);
    eval 'sub AGP_I855_GCC1_GMS_STOLEN_1M () {0x10;}' unless defined(&AGP_I855_GCC1_GMS_STOLEN_1M);
    eval 'sub AGP_I855_GCC1_GMS_STOLEN_4M () {0x20;}' unless defined(&AGP_I855_GCC1_GMS_STOLEN_4M);
    eval 'sub AGP_I855_GCC1_GMS_STOLEN_8M () {0x30;}' unless defined(&AGP_I855_GCC1_GMS_STOLEN_8M);
    eval 'sub AGP_I855_GCC1_GMS_STOLEN_16M () {0x40;}' unless defined(&AGP_I855_GCC1_GMS_STOLEN_16M);
    eval 'sub AGP_I855_GCC1_GMS_STOLEN_32M () {0x50;}' unless defined(&AGP_I855_GCC1_GMS_STOLEN_32M);
    eval 'sub AGP_I915_GMADR () {0x18;}' unless defined(&AGP_I915_GMADR);
    eval 'sub AGP_I915_MMADR () {0x10;}' unless defined(&AGP_I915_MMADR);
    eval 'sub AGP_I915_GTTADR () {0x1c;}' unless defined(&AGP_I915_GTTADR);
    eval 'sub AGP_I915_GCC1_GMS_STOLEN_48M () {0x60;}' unless defined(&AGP_I915_GCC1_GMS_STOLEN_48M);
    eval 'sub AGP_I915_GCC1_GMS_STOLEN_64M () {0x70;}' unless defined(&AGP_I915_GCC1_GMS_STOLEN_64M);
    eval 'sub AGP_I915_DEVEN () {0x54;}' unless defined(&AGP_I915_DEVEN);
    eval 'sub AGP_I915_DEVEN_D2F0 () {0x8;}' unless defined(&AGP_I915_DEVEN_D2F0);
    eval 'sub AGP_I915_DEVEN_D2F0_ENABLED () {0x8;}' unless defined(&AGP_I915_DEVEN_D2F0_ENABLED);
    eval 'sub AGP_I915_DEVEN_D2F0_DISABLED () {0x;}' unless defined(&AGP_I915_DEVEN_D2F0_DISABLED);
    eval 'sub AGP_I915_MSAC () {0x62;}' unless defined(&AGP_I915_MSAC);
    eval 'sub AGP_I915_MSAC_GMASIZE () {0x2;}' unless defined(&AGP_I915_MSAC_GMASIZE);
    eval 'sub AGP_I915_MSAC_GMASIZE_128 () {0x2;}' unless defined(&AGP_I915_MSAC_GMASIZE_128);
    eval 'sub AGP_I915_MSAC_GMASIZE_256 () {0x;}' unless defined(&AGP_I915_MSAC_GMASIZE_256);
}
1;
