patch-2.4.1 linux/drivers/char/agp/agpgart_be.c
Next file: linux/drivers/char/drm/Config.in
Previous file: linux/drivers/cdrom/cdrom.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Jan 28 13:28:09 2001
- Orig file:
v2.4.0/linux/drivers/char/agp/agpgart_be.c
- Orig date:
Fri Dec 29 14:07:21 2000
diff -u --recursive --new-file v2.4.0/linux/drivers/char/agp/agpgart_be.c linux/drivers/char/agp/agpgart_be.c
@@ -1384,9 +1384,11 @@
aper_size_info_8 *previous_size;
previous_size = A_SIZE_8(agp_bridge.previous_size);
- pci_write_config_dword(agp_bridge.dev, VIA_ATTBASE, 0);
pci_write_config_byte(agp_bridge.dev, VIA_APSIZE,
previous_size->size_value);
+ /* Do not disable by writing 0 to VIA_ATTBASE, it screws things up
+ * during reinitialization.
+ */
}
static void via_tlbflush(agp_memory * mem)
@@ -2373,9 +2375,10 @@
if (i810_dev == NULL) {
printk(KERN_ERR PFX "agpgart: Detected an "
"Intel i815, but could not find the"
- " secondary device.\n");
- agp_bridge.type = NOT_SUPPORTED;
- return -ENODEV;
+ " secondary device.\n"
+ "Assuming user has added an external AGP"
+ " card\n");
+ break;
}
printk(KERN_INFO PFX "agpgart: Detected an Intel i815 "
"Chipset.\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)