Mercurial > mplayer.hg
comparison vidix/mga_vid.c @ 23167:2ab3eac7f6da
synced with upstream vidix, prevented some drivers to work on some configs/archs
author | ben |
---|---|
date | Mon, 30 Apr 2007 22:14:29 +0000 |
parents | d266eaa9aab0 |
children | 48441c610249 |
comparison
equal
deleted
inserted
replaced
23166:9a4634744b41 | 23167:2ab3eac7f6da |
---|---|
1108 if (mga_verbose > 1) | 1108 if (mga_verbose > 1) |
1109 printf("[mga] pci[%d] vendor: %d device: %d\n", | 1109 printf("[mga] pci[%d] vendor: %d device: %d\n", |
1110 i, lst[i].vendor, lst[i].device); | 1110 i, lst[i].vendor, lst[i].device); |
1111 if (lst[i].vendor == VENDOR_MATROX) | 1111 if (lst[i].vendor == VENDOR_MATROX) |
1112 { | 1112 { |
1113 #if 0 | |
1113 if ((lst[i].command & PCI_COMMAND_IO) == 0) | 1114 if ((lst[i].command & PCI_COMMAND_IO) == 0) |
1114 { | 1115 { |
1115 printf("[mga] Device is disabled, ignoring\n"); | 1116 printf("[mga] Device is disabled, ignoring\n"); |
1116 continue; | 1117 continue; |
1117 } | 1118 } |
1119 #endif | |
1118 switch(lst[i].device) | 1120 switch(lst[i].device) |
1119 { | 1121 { |
1120 case DEVICE_MATROX_MGA_G550_AGP: | 1122 case DEVICE_MATROX_MGA_G550_AGP: |
1121 printf("[mga] Found MGA G550\n"); | 1123 printf("[mga] Found MGA G550\n"); |
1122 is_g400 = 1; | 1124 is_g400 = 1; |