summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2007-08-12 12:00:20 -0400
committerAlex Deucher <alex@botch2.com>2007-08-12 12:00:20 -0400
commit6fc3ddbbb6fbbee1f6076c776e5b46c0c772b6d4 (patch)
tree575b25e52b8aa21c2557a4ad5e31ef380761c7cd /src/radeon_output.c
parentb7738d2ef82e1759adf78e5db1291f8739b4166f (diff)
RADEON: order the VGA and DVI ports correctly
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index b570b7f..d86fbbd 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]);