From a88a0e77eec514325b4d07bf7be9fb04e6f8e244 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 7 Aug 2007 00:43:20 -0400 Subject: RADEON: minor fix to legacy bios connector table --- src/radeon_bios.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/radeon_bios.c') diff --git a/src/radeon_bios.c b/src/radeon_bios.c index 696fee42..9e167b57 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -239,11 +239,8 @@ static Bool RADEONGetLegacyConnectorInfoFromBIOS (ScrnInfoPtr pScrn) tmp = RADEON_BIOS16(entry); info->BiosConnector[i].ConnectorType = (tmp >> 12) & 0xf; info->BiosConnector[i].DDCType = (tmp >> 8) & 0xf; - info->BiosConnector[i].DACType = tmp & 0x3; - if (tmp & 0x10) - info->BiosConnector[i].TMDSType = TMDS_EXT; - else - info->BiosConnector[i].TMDSType = TMDS_INT; + info->BiosConnector[i].DACType = tmp & 0x1; + info->BiosConnector[i].TMDSType = tmp & 0x10; } } else { -- cgit v1.2.3