linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] radeonfb: Add ID for Radeon Xpress 1100
@ 2007-06-07 14:00 Yen Rui
  2007-06-07 14:15 ` Antonino A. Daplas
  0 siblings, 1 reply; 2+ messages in thread
From: Yen Rui @ 2007-06-07 14:00 UTC (permalink / raw)
  To: benh; +Cc: linux-fbdev-devel, linux-kernel

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

Hi,

I have to attach the patch instead of inlining it in this e-mail
because gmail converts word wraps into hard returns.  Sorry.

-- Yen Rui

[-- Attachment #2: add-radeon-xpress-1100-id.patch --]
[-- Type: text/x-diff, Size: 2437 bytes --]

radeonfb: Add ID for Radeon Xpress 1100

Tested on an Acer Aspire 5050 Series notebook.

Signed-off-by: Yen Rui <ruiyen@gmail.com>

diff -uprN linux-2.6.22-rc4-vanilla/drivers/video/aty/ati_ids.h linux-2.6.22-rc4/drivers/video/aty/ati_ids.h
--- linux-2.6.22-rc4-vanilla/drivers/video/aty/ati_ids.h	2007-06-07 22:20:30.000000000 +1000
+++ linux-2.6.22-rc4/drivers/video/aty/ati_ids.h	2007-06-07 22:26:08.000000000 +1000
@@ -210,3 +210,4 @@
 #define PCI_CHIP_RS350_7834             0x7834
 #define PCI_CHIP_RS350_7835             0x7835
 #define PCI_CHIP_RS480_5955             0x5955
+#define PCI_CHIP_RS482_5975		0x5975
diff -uprN linux-2.6.22-rc4-vanilla/drivers/video/aty/radeon_base.c linux-2.6.22-rc4/drivers/video/aty/radeon_base.c
--- linux-2.6.22-rc4-vanilla/drivers/video/aty/radeon_base.c	2007-06-07 22:20:30.000000000 +1000
+++ linux-2.6.22-rc4/drivers/video/aty/radeon_base.c	2007-06-07 22:29:24.000000000 +1000
@@ -100,8 +100,9 @@
 	{ PCI_VENDOR_ID_ATI, id, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (flags) | (CHIP_FAMILY_##family) }
 
 static struct pci_device_id radeonfb_pci_table[] = {
-        /* Radeon Xpress 200m */
-	CHIP_DEF(PCI_CHIP_RS480_5955,   RS480,  CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY),
+	/* Radeon Xpress 200m */
+	CHIP_DEF(PCI_CHIP_RS480_5955,	RS480,	CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY),
+	CHIP_DEF(PCI_CHIP_RS482_5975,	RS480,	CHIP_HAS_CRTC2 | CHIP_IS_IGP | CHIP_IS_MOBILITY),
 	/* Mobility M6 */
 	CHIP_DEF(PCI_CHIP_RADEON_LY, 	RV100,	CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
 	CHIP_DEF(PCI_CHIP_RADEON_LZ,	RV100,	CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
diff -uprN linux-2.6.22-rc4-vanilla/drivers/video/aty/radeonfb.h linux-2.6.22-rc4/drivers/video/aty/radeonfb.h
--- linux-2.6.22-rc4-vanilla/drivers/video/aty/radeonfb.h	2007-06-07 22:20:30.000000000 +1000
+++ linux-2.6.22-rc4/drivers/video/aty/radeonfb.h	2007-06-07 22:35:43.000000000 +1000
@@ -48,7 +48,7 @@ enum radeon_family {
 	CHIP_FAMILY_RV350,
 	CHIP_FAMILY_RV380,    /* RV370/RV380/M22/M24 */
 	CHIP_FAMILY_R420,     /* R420/R423/M18 */
-	CHIP_FAMILY_RS480,
+	CHIP_FAMILY_RS480,    /* RS480/RS482 */
 	CHIP_FAMILY_LAST,
 };
 
@@ -66,7 +66,7 @@ enum radeon_family {
 				((rinfo)->family == CHIP_FAMILY_R350)  || \
 				((rinfo)->family == CHIP_FAMILY_RV380) || \
 				((rinfo)->family == CHIP_FAMILY_R420)  || \
-		                ((rinfo)->family == CHIP_FAMILY_RS480) )
+				((rinfo)->family == CHIP_FAMILY_RS480))
 
 /*
  * Chip flags

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-07 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-07 14:00 [PATCH] radeonfb: Add ID for Radeon Xpress 1100 Yen Rui
2007-06-07 14:15 ` Antonino A. Daplas

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).