lkml.org 
[lkml]   [2004]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.4] Identify Radeon Ya and Yd in radeonfb
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/
-
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 14:01    [W:0.035 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site