/* VIA's AGP3 chipsets do magick to put the AGP bridge compliant with the same standards version as the graphics card.  */
static void check_via_agp3(struct agp_bridge_data *bridge)
/* VIA's AGP3 chipsets do magick to put the AGP bridge compliant with the same standards version as the graphics card.  */
static void check_via_agp3(struct agp_bridge_data *bridge)
{
	u8 reg;
	pci_read_config_byte(bridge->dev, VIA_AGPSEL, &reg);
	if ((reg & (1<<1))==0)
		bridge->driver = &via_agp3_driver;
}