patch-2.4.25 linux-2.4.25/drivers/char/agp/agpgart_be.c
Next file: linux-2.4.25/drivers/char/alim7101_wdt.c
Previous file: linux-2.4.25/drivers/char/agp/agp.h
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/drivers/char/agp/agpgart_be.c
- Orig date:
2003-11-28 10:26:20.000000000 -0800
diff -urN linux-2.4.24/drivers/char/agp/agpgart_be.c linux-2.4.25/drivers/char/agp/agpgart_be.c
@@ -5644,7 +5644,7 @@
#define GET_PAGE_DIR_IDX(addr) (GET_PAGE_DIR_OFF(addr) - \
GET_PAGE_DIR_OFF(agp_bridge.gart_bus_addr))
#define GET_GATT_OFF(addr) ((addr & 0x003ff000) >> 12)
-#undef GET_GATT(addr)
+#undef GET_GATT
#define GET_GATT(addr) (ati_generic_private.gatt_pages[\
GET_PAGE_DIR_IDX(addr)]->remapped)
@@ -5738,6 +5738,7 @@
if ((agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS100) ||
(agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS200) ||
+ (agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS200_B) ||
(agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS250)) {
pci_read_config_dword(agp_bridge.dev, ATI_RS100_APSIZE, &temp);
temp = (((temp & ~(0x0000000e)) | current_size->size_value)
@@ -5791,6 +5792,7 @@
if ((agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS100) ||
(agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS200) ||
+ (agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS200_B) ||
(agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS250)) {
pci_read_config_dword(agp_bridge.dev, ATI_RS100_APSIZE, &temp);
} else {
@@ -5823,6 +5825,7 @@
if ((agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS100) ||
(agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS200) ||
+ (agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS200_B) ||
(agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS250)) {
pci_write_config_dword(agp_bridge.dev, ATI_RS100_IG_AGPMODE, 0x20000);
} else {
@@ -5860,6 +5863,7 @@
/* Write back the previous size and disable gart translation */
if ((agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS100) ||
(agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS200) ||
+ (agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS200_B) ||
(agp_bridge.dev->device == PCI_DEVICE_ID_ATI_RS250)) {
pci_read_config_dword(agp_bridge.dev, ATI_RS100_APSIZE, &temp);
temp = ((temp & ~(0x0000000f)) | previous_size->size_value);
@@ -6428,6 +6432,12 @@
"ATI",
"IGP330/340/345/350/M",
ati_generic_setup },
+ { PCI_DEVICE_ID_ATI_RS200_B,
+ PCI_VENDOR_ID_ATI,
+ ATI_RS200,
+ "ATI",
+ "IGP330/340/345/350/M",
+ ati_generic_setup },
{ PCI_DEVICE_ID_ATI_RS250,
PCI_VENDOR_ID_ATI,
ATI_RS250,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)