sys/dev/agp/agp.c
/**
 * Sets the PCI resource which represents the AGP aperture.
 *
 * If not called, the default AGP aperture resource of AGP_APBASE will
 * be used.  Must be called before agp_generic_attach().
 */
Sets the PCI resource which represents the AGP aperture.
If not called, the default AGP aperture resource of AGP_APBASE will
be used.  Must be called before agp_generic_attach().
Sets the PCI resource which represents the AGP aperture . If not called the default AGP aperture resource of AGP_APBASE will be used . Must be called before agp_generic_attach () .
void
agp_set_aperture_resource(device_t dev, int rid)
{
	struct agp_softc *sc = device_get_softc(dev);
	sc->as_aperture_rid = rid;
}
void agp_set_aperture_resource ( device_t dev , int rid ) { struct agp_softc * sc = device_get_softc ( dev ) ; sc -> as_aperture_rid = rid ; }
Sets the PCI resource which represents the AGP aperture.
Sets the PCI resource which represents the AGP aperture .