[PATCH] Identify RADEON Yd in radeonfb

From: Bernardo Innocenti
Date: Tue Jan 06 2004 - 23:43:42 EST


Hello,

identify a recent Radeon video card in radeonfb.
Please, apply.

diff -Nrup linux-2.6.0-1.24/include/linux/pci_ids.h linux-2.6.0-1.23/include/linux/pci_ids.h
--- linux-2.6.0-1.24/include/linux/pci_ids.h 2004-01-05 17:43:45.000000000 +0100
+++ linux-2.6.0-1.24/include/linux/pci_ids.h 2004-01-05 01:16:18.000000000 +0100
@@ -291,6 +291,7 @@
#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_Yd 0x5964
/* Radeon R300 (9500) */
#define PCI_DEVICE_ID_ATI_RADEON_AD 0x4144
/* Radeon R300 (9700) */
diff -Nrup linux-2.6.0-1.24/drivers/video/radeonfb.c linux-2.6.0-1.23/drivers/video/radeonfb.c
--- linux-2.6.0-1.24/drivers/video/radeonfb.c 2003-12-18 03:59:44.000000000 +0100
+++ linux-2.6.0-1.24/drivers/video/radeonfb.c 2004-01-07 05:29:44.418248063 +0100
@@ -114,6 +114,7 @@ enum radeon_chips {
RADEON_Ie,
RADEON_If,
RADEON_Ig,
+ RADEON_Yd,
RADEON_Ld,
RADEON_Le,
RADEON_Lf,
@@ -207,6 +208,7 @@ static struct pci_device_id radeonfb_pci
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Ie, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Ie},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_If, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_If},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Ig, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Ig},
+ { 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_Ld, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Ld},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Le, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Le},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Lf, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_Lf},

--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/