Re: radeonfb and `Radeon Mobility 9000'

Alvaro Lopez Ortega (alvaro@alobbs.com)
Mon, 27 Jan 2003 16:35:52 +0100


--Boundary-00=_YHVN+3SwTrLtfQE
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Monday 27 January 2003 15:47, Alvaro Lopez Ortega wrote:

> This little patch adds `Radeon Mobility 9000' support to the Radeon
> Framebuffer driver.

Sorry, I made a mistake..
This is the right patch file, please ignore previous one.

-- 
Greetings, alo.

--Boundary-00=_YHVN+3SwTrLtfQE Content-Type: text/x-diff; charset="iso-8859-1"; name="radeon-Mobility9000-linux-2.4.20.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="radeon-Mobility9000-linux-2.4.20.diff"

--- radeon_orig.h 2003-01-27 16:20:01.000000000 +0100 +++ radeon.h 2003-01-27 16:16:58.000000000 +0100 @@ -13,6 +13,7 @@ #define PCI_DEVICE_ID_RADEON_LY 0x4c59 #define PCI_DEVICE_ID_RADEON_LZ 0x4c5a #define PCI_DEVICE_ID_RADEON_PM 0x4c52 +#define PCI_DEVICE_ID_RADEON_LF 0x4c66 #define PCI_DEVICE_ID_RADEON_QL 0x514c #define PCI_DEVICE_ID_RADEON_QW 0x5157 --- radeonfb_orig.c 2003-01-27 09:50:16.000000000 +0100 +++ radeonfb.c 2003-01-27 16:16:50.000000000 +0100 @@ -19,6 +19,7 @@ * 2001-11-18 DFP fixes, Kevin Hendricks, 0.1.3 * 2001-11-29 more cmap, backlight fixes, Benjamin Herrenschmidt * 2002-01-18 DFP panel detection via BIOS, Michael Clark, 0.1.4 + * 2003-01-28 added Radeon Mobility 9000, Alvaro Lopez Ortega * * Special thanks to ATI DevRel team for their hardware donations. * @@ -101,7 +102,8 @@ RADEON_LW, /* Radeon Mobility M7 */ RADEON_LY, /* Radeon Mobility M6 */ RADEON_LZ, /* Radeon Mobility M6 */ - RADEON_PM /* Radeon Mobility P/M */ + RADEON_LF, /* Radeon Mobility 9000 */ + RADEON_PM /* Radeon Mobility P/M */ }; @@ -128,6 +130,7 @@ { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LW, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LW}, { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LY, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LY}, { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LZ, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LZ}, + { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_LF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_LF}, { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_PM, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_PM}, { 0, } }; @@ -858,7 +861,11 @@ strcpy(rinfo->name, "Radeon M6 LZ "); rinfo->hasCRTC2 = 1; break; - case PCI_DEVICE_ID_RADEON_PM: + case PCI_DEVICE_ID_RADEON_LF: + strcpy(rinfo->name, "Radeon R250 LF"); + rinfo->hasCRTC2 = 1; + break; + case PCI_DEVICE_ID_RADEON_PM: strcpy(rinfo->name, "Radeon P/M "); rinfo->hasCRTC2 = 1; default:

--Boundary-00=_YHVN+3SwTrLtfQE--

- 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/