Add clock speed to processor description for SPARC CPU.
This commit is contained in:
parent
35ee8a16de
commit
f05540cb48
1 changed files with 5 additions and 0 deletions
|
@ -669,8 +669,13 @@ class SunOSHardware(Hardware):
|
|||
brand = ''
|
||||
elif key == 'brand':
|
||||
brand = data[1].strip()
|
||||
elif key == 'clock_MHz':
|
||||
clock_mhz = data[1].strip()
|
||||
elif key == 'implementation':
|
||||
processor = brand or data[1].strip()
|
||||
# Add clock speed to description for SPARC CPU
|
||||
if self.facts['machine'] != 'i86pc':
|
||||
processor += " @ " + clock_mhz + "MHz"
|
||||
if 'processor' not in self.facts:
|
||||
self.facts['processor'] = []
|
||||
self.facts['processor'].append(processor)
|
||||
|
|
Loading…
Reference in a new issue