AGP_INTEL_APSIZE
value = pci_read_config(dev, AGP_INTEL_APSIZE, 1);
pci_write_config(dev, AGP_INTEL_APSIZE, MAX_APSIZE, 1);
sc->aperture_mask = pci_read_config(dev, AGP_INTEL_APSIZE, 1) &
pci_write_config(dev, AGP_INTEL_APSIZE, value, 1);
apsize = pci_read_config(dev, AGP_INTEL_APSIZE, 1) & sc->aperture_mask;
pci_write_config(dev, AGP_INTEL_APSIZE, apsize, 1);