linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* radeon 9200SE device id support for 2.4 and 2.6.
@ 2004-01-16 16:18 Sven Luther
  0 siblings, 0 replies; only message in thread
From: Sven Luther @ 2004-01-16 16:18 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

Hello,

Here is a smallish patch which can be added to both the 2.4 and 2.6
trees (altough the patch is against tag v2.4.24 of the linuxppc-2.4
tree).

It adds support for the Radeon 9200Se Ya, Yb, Yc and Yd variants, works
fine for me, and i think i have seen it also used by some other
debian/ppc users.

Friendly,

Sven Luther

[-- Attachment #2: radeon9200se.diff --]
[-- Type: text/plain, Size: 2389 bytes --]

diff -urN linuxppc-2.4.24/drivers/video/radeonfb.c linux-2.4.24-pegasos/drivers/video/radeonfb.c
--- linuxppc-2.4.24/drivers/video/radeonfb.c	2004-01-11 18:43:09.000000000 +0100
+++ linux-2.4.24-pegasos/drivers/video/radeonfb.c	2004-01-14 10:59:39.000000000 +0100
@@ -202,6 +202,10 @@
 	RADEON_If,
 	RADEON_Ig,
 	RADEON_Y_,
+	RADEON_Ya,
+	RADEON_Yb,
+	RADEON_Yc,
+	RADEON_Yd,
 	RADEON_Ld,
 	RADEON_Le,
 	RADEON_Lf,
@@ -261,6 +265,10 @@
 	{ "9000 If", RADEON_RV250 },
 	{ "9000 Ig", RADEON_RV250 },
 	{ "9200 Y", RADEON_RV280 },
+	{ "9200 Ya", RADEON_RV280 },
+	{ "9200 Yb", RADEON_RV280 },
+	{ "9200 Yc", RADEON_RV280 },
+	{ "9200 Yd", RADEON_RV280 },
 	{ "M9 Ld", RADEON_M9 },
 	{ "M9 Le", RADEON_M9 },
 	{ "M9 Lf", RADEON_M9 },
@@ -326,6 +334,10 @@
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_NH, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_NH},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_NI, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_NI},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Y_, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Y_},
+	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Ya, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Ya},
+	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Ya, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Yb},
+	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Ya, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Yc},
+	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Yd, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Yd},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_AD, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_AD},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_AP, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_AP},
 	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_AR, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_AR},
diff -urN linuxppc-2.4.24/include/linux/pci_ids.h linux-2.4.24-pegasos/include/linux/pci_ids.h
--- linuxppc-2.4.24/include/linux/pci_ids.h	2004-01-11 18:41:11.000000000 +0100
+++ linux-2.4.24-pegasos/include/linux/pci_ids.h	2004-01-14 10:59:39.000000000 +0100
@@ -287,6 +287,10 @@
 #define PCI_DEVICE_ID_ATI_RADEON_Ig	0x4967
 /* Radeon RV280 (9200) */
 #define PCI_DEVICE_ID_ATI_RADEON_Y_	0x5960
+#define PCI_DEVICE_ID_ATI_RADEON_Ya    0x5961
+#define PCI_DEVICE_ID_ATI_RADEON_Yb    0x5962
+#define PCI_DEVICE_ID_ATI_RADEON_Yc    0x5963
+#define PCI_DEVICE_ID_ATI_RADEON_Yd    0x5964
 /* Radeon R300 (9700) */
 #define PCI_DEVICE_ID_ATI_RADEON_ND	0x4e44
 #define PCI_DEVICE_ID_ATI_RADEON_NE	0x4e45

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-16 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-16 16:18 radeon 9200SE device id support for 2.4 and 2.6 Sven Luther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).