[PATCH] radeonfb: Add ID for Radeon Xpress 1100

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
radeonfb: Add ID for Radeon Xpress 1100

Tested on an Acer Aspire 5050 Series notebook.

Signed-off-by: Yen Rui <[email protected]>

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux