/[gentoo-src]/Xorgautoconfig/Xorgautoconfig.c
Gentoo

Diff of /Xorgautoconfig/Xorgautoconfig.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
207 { 207 {
208 mem = strdup(fix.id); 208 mem = strdup(fix.id);
209 while(((i = strlen(mem)) > 0) && isspace(mem[i - 1])) { 209 while(((i = strlen(mem)) > 0) && isspace(mem[i - 1])) {
210 mem[i - 1] = '\0'; 210 mem[i - 1] = '\0';
211 } 211 }
212 if (strstr(fix.id, "NVDA") != NULL) 212 if (strstr(fix.id, "NV") != NULL) ||
213 nv = 1; 213 nv = 1;
214
215 if (!strncmp(fix.id, "OFfb", 4)) 214 if (!strncmp(fix.id, "OFfb", 4))
216 offb = 1; 215 offb = 1;
217 } 216 }
218 217
219 findVideoDevice(); /* For BusID */ 218 findVideoDevice(); /* For BusID */
297 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", "\tOption\t\"BusType\"\t\"PCI\"\n"); 296 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", "\tOption\t\"BusType\"\t\"PCI\"\n");
298 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"radeon\"\n"); 297 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"radeon\"\n");
299 dri = TRUE; 298 dri = TRUE;
300 break; 299 break;
301 default: 300 default:
302 /* FIXME still broken? */
303 /* radeon seems to be broken on VE (aka 7000) */
304 if ((!strncmp(fix.id, "ATI Radeon", 10)) && 301 if (!strncmp(fix.id, "ATI Radeon", 10)) {
305 (strncmp(fix.id, "ATI Radeon VE", 13))) {
306 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", driver_radeon); 302 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", driver_radeon);
307 if(!strncmp(macid + 5, "Pegasos", 7)) 303 if(!strncmp(macid + 5, "Pegasos", 7))
308 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", "\tOption\t\"BusType\"\t\"PCI\"\n"); 304 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", "\tOption\t\"BusType\"\t\"PCI\"\n");
309 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"radeon\"\n"); 305 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"radeon\"\n");
310 dri = TRUE; 306 dri = TRUE;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20