From 2dd5477c9c7ba84825447f6598336865b354801c Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Fri, 2 Apr 2004 03:42:56 +0100 Subject: [PATCH] [AGPGART] Actually Call the SiS workaround on SiS 746 too. --- drivers/char/agp/sis-agp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c index 6b9520797dc73..267c97787df47 100644 --- a/drivers/char/agp/sis-agp.c +++ b/drivers/char/agp/sis-agp.c @@ -99,7 +99,7 @@ static void sis_648_enable(u32 mode) * cannot be configured */ if (device->device == PCI_DEVICE_ID_SI_648 || - device->device == PCI_DEVICE_ID_SI_746) { + device->device == PCI_DEVICE_ID_SI_746) { printk(KERN_INFO PFX "SiS chipset with AGP problems detected. Giving bridge time to recover.\n"); set_current_state(TASK_UNINTERRUPTIBLE); schedule_timeout (1+(HZ*10)/1000); @@ -225,7 +225,8 @@ static struct agp_device_ids sis_agp_device_ids[] __devinitdata = static void __devinit sis_get_driver(struct agp_bridge_data *bridge) { - if (bridge->dev->device == PCI_DEVICE_ID_SI_648) { + if (bridge->dev->device == PCI_DEVICE_ID_SI_648 || + bridge->dev->device == PCI_DEVICE_ID_SI_746) { if (agp_bridge->major_version == 3 && agp_bridge->minor_version < 5) { sis_driver.agp_enable=sis_648_enable; } else { -- 2.53.0