* [PATCH 2.4] Identify Radeon Ya and Yd in radeonfb
@ 2004-02-26 19:28 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2004-02-26 19:28 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: LKML
Hi Marcelo,
Here is a patch that adds support for the Radeon 9200 (Ya) and 9200 SE
(Yd) to the radeonfb driver. Since it already supports the Radeon 9200
Pro which is basically (if not exactly) the same chipset, this is just a
matter of making the driver recognize two new IDs as something it
supports. No new code here.
I take no credit for this patch, since it is almost identical to this
one by Sven Luther:
http://marc.theaimsgroup.com/?l=linux-ppc&m=107427038129062
And is similar to these two other ones that are now in Linux 2.6, by
Bernardo Innocenti and Andreas Steinmetz, respectively:
http://marc.theaimsgroup.com/?l=linux-kernel&m=107345065025365
http://lkml.org/lkml/2004/2/6/64
The patch is against 2.4.26-pre1.
Please apply,
thanks.
--- linux-2.4.26-pre1/include/linux/pci_ids.h 2004-02-26 13:50:00.000000000 +0100
+++ linux-2.4.26-pre1-k1/include/linux/pci_ids.h 2004-02-26 13:54:04.000000000 +0100
@@ -287,6 +287,8 @@
#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_Yd 0x5964
/* Radeon R300 (9700) */
#define PCI_DEVICE_ID_ATI_RADEON_ND 0x4e44
#define PCI_DEVICE_ID_ATI_RADEON_NE 0x4e45
--- linux-2.4.26-pre1/drivers/video/radeonfb.c 2003-08-25 13:44:42.000000000 +0200
+++ linux-2.4.26-pre1-k1/drivers/video/radeonfb.c 2004-02-26 14:04:20.000000000 +0100
@@ -202,6 +202,8 @@
RADEON_If,
RADEON_Ig,
RADEON_Y_,
+ RADEON_Ya,
+ RADEON_Yd,
RADEON_Ld,
RADEON_Le,
RADEON_Lf,
@@ -261,6 +263,8 @@
{ "9000 If", RADEON_RV250 },
{ "9000 Ig", RADEON_RV250 },
{ "9200 Y", RADEON_RV280 },
+ { "9200 Ya", RADEON_RV280 },
+ { "9200 Yd", RADEON_RV280 },
{ "M9 Ld", RADEON_M9 },
{ "M9 Le", RADEON_M9 },
{ "M9 Lf", RADEON_M9 },
@@ -326,6 +330,8 @@
{ 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_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},
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-26 19:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-26 19:28 [PATCH 2.4] Identify Radeon Ya and Yd in radeonfb Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®