add Radeon 5470, thanks RISC!; simplification in Blanking call, thanks Axel!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41507 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV 2011-05-15 00:37:59 +00:00
parent e64bb27712
commit 19935655ac
2 changed files with 2 additions and 4 deletions

View File

@ -147,10 +147,7 @@ CardBlankSet(int crtNumber, bool blank)
}
write32(blackColorReg, 0);
if (blank == true)
write32AtMask(blankControlReg, 0x00000100, 0x00000100);
else
write32AtMask(blankControlReg, 0, 0x00000100);
write32AtMask(blankControlReg, blank ? 0x00000100 : 0, 0x00000100);
}

View File

@ -86,6 +86,7 @@ const struct supported_device {
// R800 series (HD54xx - HD59xx)
// Codename: Evergreen
{0x68f9, RADEON_R800 | 0x0, "Radeon HD 5450"}, /*RV8XX*/
{0x68e0, RADEON_R800 | 0x0, "Radeon HD 5470"}, /*RV8XX*/
{0x68da, RADEON_R800 | 0x0, "Radeon HD 5500"}, /*RV8XX*/
{0x68d9, RADEON_R800 | 0x0, "Radeon HD 5570"}, /*RV8XX*/
{0x68b9, RADEON_R800 | 0x0, "Radeon HD 5600"}, /*RV8XX*/