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

Diff of /Xorgautoconfig/Xorgautoconfig.c

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

Revision 1.7 Revision 1.8
283 /* ATI Radeon */ 283 /* ATI Radeon */
284 /* FIXME what are the values for radeon > 9200? */ 284 /* FIXME what are the values for radeon > 9200? */
285 case 38: 285 case 38:
286 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", driver_radeon); 286 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", driver_radeon);
287 if(!strncmp(macid + 5, "Pegasos", 7)) 287 if(!strncmp(macid + 5, "Pegasos", 7))
288 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", "\tOption\t\"BusType\"\t\"PCI\""); 288 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", "\tOption\t\"BusType\"\t\"PCI\"\n");
289 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"radeon\"\n"); 289 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"radeon\"\n");
290 dri = TRUE; 290 dri = TRUE;
291 break; 291 break;
292 default: 292 default:
293 /* FIXME still broken? */ 293 /* FIXME still broken? */
294 /* radeon seems to be broken on VE (aka 7000) */ 294 /* radeon seems to be broken on VE (aka 7000) */
295 if ((!strncmp(fix.id, "ATI Radeon", 10)) && 295 if ((!strncmp(fix.id, "ATI Radeon", 10)) &&
296 (strncmp(fix.id, "ATI Radeon VE", 13))) { 296 (strncmp(fix.id, "ATI Radeon VE", 13))) {
297 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", driver_radeon); 297 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", driver_radeon);
298 if(!strncmp(macid + 5, "Pegasos", 7)) 298 if(!strncmp(macid + 5, "Pegasos", 7))
299 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", "\tOption\t\"BusType\"\t\"PCI\""); 299 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", "\tOption\t\"BusType\"\t\"PCI\"\n");
300 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"radeon\"\n"); 300 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"radeon\"\n");
301 dri = TRUE; 301 dri = TRUE;
302 } else if (!strncmp(fix.id, "Rage128", 7)) { 302 } else if (!strncmp(fix.id, "Rage128", 7)) {
303 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", driver_r128); 303 videolen -= snprintf(videobuf + strlen(videobuf), videolen, "%s", driver_r128);
304 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"r128\"\n"); 304 videolen -= snprintf(videobuf + strlen(videobuf), videolen, " Driver\t\"r128\"\n");

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20