int mga_driver_device_is_agp(drm_device_t * dev) 
static int mga_driver_device_is_agp(drm_device_t * dev) 
int mga_driver_device_is_agp(drm_device_t * dev){	const struct pci_dev *const pdev = dev->pdev;	/* There are PCI versions of the G450.  These cards have the	 * same PCI ID as the AGP G450, but have an additional PCI-to-PCI	 * bridge chip.  We detect these cards, which are not currently	 * supported by this driver, by looking at the device ID of the	 * bus the "card" is on.  If vendor is 0x3388 (Hint Corp) and the	 * device is 0x0021 (HB6 Universal PCI-PCI bridge), we reject the	 * device.	 */	if ((pdev->device == 0x0525)	    && (pdev->bus->self->vendor == 0x3388)	    && (pdev->bus->self->device == 0x0021)) {		return 0;	}	return 2;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b3a83639895a422b25f72eec0a5d1d88c3ac4e9e/mga_drv.c/clean/drivers/char/drm/mga_drv.c