Module Name: src Committed By: nakayama Date: Fri Jul 25 17:21:32 UTC 2014
Modified Files: src/sys/arch/sparc/sparc: autoconf.c cpu.c src/sys/arch/sparc64/sparc64: autoconf.c cpu.c Log Message: Backout using humanize_number(9) in clockfreq(). humanize_number(9) cannot handle a fraction part and doesn't match the intention of clockfreq(). Also backout the changes caused by the fallout of clockfreq(). Fixed outputs: -cpu0 at mainbus0: MB86904 @ 170 MHz, MB86910 or WTL1164/5 FPU +cpu0 at mainbus0: MB86904 @ 170 MHz, MB86910 or WTL1164/5 FPU -sbus0 at iommu0: clock = 21250 MHz +sbus0 at iommu0: clock = 21.250 MHz -cpu0 at mainbus0: SUNW,UltraSPARC-II @ 449 MHz, CPU id 0 +cpu0 at mainbus0: SUNW,UltraSPARC-II @ 449.971 MHz, CPU id 0 To generate a diff of this commit: cvs rdiff -u -r1.256 -r1.257 src/sys/arch/sparc/sparc/autoconf.c cvs rdiff -u -r1.247 -r1.248 src/sys/arch/sparc/sparc/cpu.c cvs rdiff -u -r1.197 -r1.198 src/sys/arch/sparc64/sparc64/autoconf.c cvs rdiff -u -r1.113 -r1.114 src/sys/arch/sparc64/sparc64/cpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.