From 5425be996692425e57884e5a4c159fc79510e89f Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Sun, 15 Oct 2006 16:49:24 -0400 Subject: clean up magic number --- src/radeon_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon_display.c') diff --git a/src/radeon_display.c b/src/radeon_display.c index 58282ef5..23aea172 100644 --- a/src/radeon_display.c +++ b/src/radeon_display.c @@ -641,7 +641,7 @@ static RADEONMonitorType RADEONDisplayDDCConnected(ScrnInfoPtr pScrn, RADEONDDCT */ if (port->TMDSType == TMDS_EXT) MonType = MT_DFP; else { - if ((INREG(RADEON_FP_GEN_CNTL) & (1<<7)) || !info->IsMobility) + if ((INREG(RADEON_FP_GEN_CNTL) & RADEON_FP_EN_TMDS) || !info->IsMobility) MonType = MT_DFP; else MonType = MT_LCD; -- cgit v1.2.3