[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-24
Subject:    [PATCH] Identify Radeon Ya and Yd in radeonfb
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2004-02-27 15:53:06
Message-ID: 200402272004.i1RK4UHQ010180 () hera ! kernel ! org
[Download RAW message or body]

ChangeSet 1.1328, 2004/02/27 12:53:06-03:00, khali@linux-fr.org

	[PATCH] Identify Radeon Ya and Yd in radeonfb
	
	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


# This patch includes the following deltas:
#	           ChangeSet	1.1327  -> 1.1328 
#	include/linux/pci_ids.h	1.83    -> 1.84   
#	drivers/video/radeonfb.c	1.18    -> 1.19   
#

 drivers/video/radeonfb.c |    6 ++++++
 include/linux/pci_ids.h  |    2 ++
 2 files changed, 8 insertions(+)


diff -Nru a/drivers/video/radeonfb.c b/drivers/video/radeonfb.c
--- a/drivers/video/radeonfb.c	Fri Feb 27 12:04:35 2004
+++ b/drivers/video/radeonfb.c	Fri Feb 27 12:04:35 2004
@@ -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},
diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h
--- a/include/linux/pci_ids.h	Fri Feb 27 12:04:35 2004
+++ b/include/linux/pci_ids.h	Fri Feb 27 12:04:35 2004
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-24" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic