DeadYak gave a better solution to r42407, simply typecast the defines as we don't want to modify the AMD radeon_hd register headers

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42409 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV 2011-07-11 17:59:36 +00:00
parent c59e093db8
commit 414b6dd98e

View File

@ -190,10 +190,9 @@ PLLPower(uint8 pllIndex, int command)
uint16 pllDiffPostReg
= (pllIndex == 1) ? RV620_EXT2_DIFF_POST_DIV_CNTL
: RV620_EXT1_DIFF_POST_DIV_CNTL;
uint16 pllDiffDriverEnable = (pllIndex == 1) ? 3 << 8 : 1 << 8;
// AKA RV62_EXT2_DIFF_DRIVER_ENABLE : RV62_EXT1_DIFF_DRIVER_ENABLE
// this prevents enumeral mismatch without a long static_cast
uint16 pllDiffDriverEnable
= (pllIndex == 1) ? (uint16)RV62_EXT2_DIFF_DRIVER_ENABLE
: (uint16)RV62_EXT1_DIFF_DRIVER_ENABLE;
// Sometimes we have to keep an unused PLL running. X Bug #18016
if ((Read32(PLL, pllDiffPostReg)