From 6fc3ddbbb6fbbee1f6076c776e5b46c0c772b6d4 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Sun, 12 Aug 2007 12:00:20 -0400 Subject: RADEON: order the VGA and DVI ports correctly --- src/radeon_output.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/radeon_output.c b/src/radeon_output.c index b570b7fa..d86fbbd9 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -2079,17 +2079,17 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn) (info->BiosConnector[i].ConnectorType == CONNECTOR_DVI_I_ATOM) || (info->BiosConnector[i].ConnectorType == CONNECTOR_DVI_A_ATOM)) { if (num_dvi > 1) { - output = xf86OutputCreate(pScrn, &radeon_output_funcs, "DVI-0"); + output = xf86OutputCreate(pScrn, &radeon_output_funcs, "DVI-1"); num_dvi--; } else { - output = xf86OutputCreate(pScrn, &radeon_output_funcs, "DVI-1"); + output = xf86OutputCreate(pScrn, &radeon_output_funcs, "DVI-0"); } } else if (info->BiosConnector[i].ConnectorType == CONNECTOR_VGA_ATOM) { if (num_vga > 1) { - output = xf86OutputCreate(pScrn, &radeon_output_funcs, "VGA-0"); + output = xf86OutputCreate(pScrn, &radeon_output_funcs, "VGA-1"); num_vga--; } else { - output = xf86OutputCreate(pScrn, &radeon_output_funcs, "VGA-1"); + output = xf86OutputCreate(pScrn, &radeon_output_funcs, "VGA-0"); } } else output = xf86OutputCreate(pScrn, &radeon_output_funcs, OutputType[radeon_output->type]); @@ -2097,17 +2097,17 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn) if ((info->BiosConnector[i].ConnectorType == CONNECTOR_DVI_D) || (info->BiosConnector[i].ConnectorType == CONNECTOR_DVI_I)) { if (num_dvi > 1) { - output = xf86OutputCreate(pScrn, &radeon_output_funcs, "DVI-0"); + output = xf86OutputCreate(pScrn, &radeon_output_funcs, "DVI-1"); num_dvi--; } else { - output = xf86OutputCreate(pScrn, &radeon_output_funcs, "DVI-1"); + output = xf86OutputCreate(pScrn, &radeon_output_funcs, "DVI-0"); } } else if (info->BiosConnector[i].ConnectorType == CONNECTOR_CRT) { if (num_vga > 1) { - output = xf86OutputCreate(pScrn, &radeon_output_funcs, "VGA-0"); + output = xf86OutputCreate(pScrn, &radeon_output_funcs, "VGA-1"); num_vga--; } else { - output = xf86OutputCreate(pScrn, &radeon_output_funcs, "VGA-1"); + output = xf86OutputCreate(pScrn, &radeon_output_funcs, "VGA-0"); } } else output = xf86OutputCreate(pScrn, &radeon_output_funcs, OutputType[radeon_output->type]); -- cgit v1.2.3