From f05540cb4850b9d714ed2374e2fdc362065f46a0 Mon Sep 17 00:00:00 2001 From: Chris Gardner Date: Wed, 29 May 2013 21:00:21 +0100 Subject: [PATCH] Add clock speed to processor description for SPARC CPU. --- system/setup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/setup b/system/setup index 27c1651bf92..91dc0fff3d5 100644 --- a/system/setup +++ b/system/setup @@ -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)