radeonfb and `Radeon Mobility 9000'

Alvaro Lopez Ortega (alvaro@alobbs.com)
Mon, 27 Jan 2003 15:47:47 +0100


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

Hi,

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

It works on my laptop (Dell Inspiron).

-- 
Greetings, alo.

--Boundary-00=_TaUN+7bUnGous9Q 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"

--- radeonfb_orig.c 2003-01-27 09:50:16.000000000 +0100 +++ radeonfb.c 2003-01-27 10:05:15.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_L9, /* 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_L9, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_L9}, { 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_L9: + strcpy(rinfo->name, "Radeon M9000"); + rinfo->hasCRTC2 = 1; + break; + case PCI_DEVICE_ID_RADEON_PM: strcpy(rinfo->name, "Radeon P/M "); rinfo->hasCRTC2 = 1; default:

--Boundary-00=_TaUN+7bUnGous9Q--

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