~ubuntu-branches/ubuntu/utopic/linuxlogo/utopic

« back to all changes in this revision

Viewing changes to libsysinfo-0.2.1/Linux/cpuinfo_x86.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Reichle-Schmehl
  • Date: 2010-01-18 16:14:48 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100118161448-i6wen2yx9jixy65a
Tags: 5.07-1
* urgency medium due to unreported RC bug fix
* Adopting package (Closes: #543886)
* New upstream release
* add debian/watch
* add VCS-Headers to debian/control
* Add patch to fix buid issue on sh architecure
  (Closes: #545938).
  Thanks to Nobuhiro Iwamatsu for providing the patch!
* Don't create /var/run/linuxlogo via package
  * it's created on start time from the init-scriot
  * it's removed on purg
  (Thanks to lintian for the hint; that's a policy must)

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
       
177
177
          /* Phenom */
178
178
       if (strstr(model_string,"Phenom")!=NULL) {
179
 
          strncpy(cpu_info->chip_type,"Phenom",7);
180
 
       }       
 
179
          if (strstr(model_string,"II")!=NULL) {
 
180
             strncpy(cpu_info->chip_type,"Phenom II",10);
 
181
          }
 
182
          else {
 
183
             strncpy(cpu_info->chip_type,"Phenom",7);
 
184
          }
 
185
       }
181
186
       
182
187
          /* Geode */
183
188
       if ( strstr(model_string,"Geode")!=NULL) {
364
369
       if (!strncmp(model_string,"00/07",5)) {
365
370
          strncpy(cpu_info->chip_type,"Pentium III",12);
366
371
       }
 
372
          
 
373
          /* Virtual Machines simulated by QEMU */
 
374
       if (strstr(model_string,"QEMU")!=NULL) {
 
375
          strncpy(cpu_info->chip_type,"QEMU Virtual",13);
 
376
       }
367
377
    }
368
378
   
369
379
       /* ************* */