lkml.org 
[lkml]   [2004]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectAdd AGP support for Radeon IGP 345M
Yet another RS200 core.

diff -Nru a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h
--- a/drivers/char/agp/agp.h Wed Jan 7 17:58:49 2004
+++ b/drivers/char/agp/agp.h Wed Jan 7 17:58:49 2004
@@ -319,6 +319,9 @@
#ifndef PCI_DEVICE_ID_ATI_RS250
#define PCI_DEVICE_ID_ATI_RS250 0xcab3
#endif
+#ifndef PCI_DEVICE_ID_ATI_RS200_B
+#define PCI_DEVICE_ID_ATI_RS200_B 0xcbb3
+#endif
#ifndef PCI_DEVICE_ID_ATI_RS300_100
#define PCI_DEVICE_ID_ATI_RS300_100 0x5830
#endif
diff -Nru a/drivers/char/agp/agpgart_be.c b/drivers/char/agp/agpgart_be.c
--- a/drivers/char/agp/agpgart_be.c Wed Jan 7 17:58:49 2004
+++ b/drivers/char/agp/agpgart_be.c Wed Jan 7 17:58:49 2004
@@ -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);
@@ -6423,6 +6427,12 @@
"IGP320/M",
ati_generic_setup },
{ PCI_DEVICE_ID_ATI_RS200,
+ PCI_VENDOR_ID_ATI,
+ ATI_RS200,
+ "ATI",
+ "IGP330/340/345/350/M",
+ ati_generic_setup },
+ { PCI_DEVICE_ID_ATI_RS200_B,
PCI_VENDOR_ID_ATI,
ATI_RS200,
"ATI",
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.023 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site