Subject: port-sh3/31315: sh3 autoconf(9) does not prepend cpuN: to relevant boot-messages
To: None <port-sh3-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <rherdware@yahoo.com>
List: netbsd-bugs
Date: 09/14/2005 17:56:01
>Number:         31315
>Category:       port-sh3
>Synopsis:       sh3 autoconf(9) does not prepend cpuN: to relevant boot-messages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-sh3-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 14 17:56:00 +0000 2005
>Originator:     Real Herdware
>Release:        2.99.16
>Organization:
>Environment:
NetBSD 2.99.16 (GENERIC) #1: Fri Mar  4 20:14:38 CET 2005
        root@vavtrudner:/usr/obj/sys/arch/hpcsh/compile/GENERIC hpcsh
>Description:
cpu0 at mainbus0: HITACHI SH3 132.694MHz PCLOCK 22.102 MHz
16KB/16B 4-way set-associative I/D-unified cache.
P0, U0, P3 write-back P1 write-back
4-way set-associative 128 TLB entries
VPN mode, multiple virtual storage mode

should read
cpu0 at mainbus0: HITACHI SH3 132.694MHz PCLOCK 22.102 MHz
cpu0: 16KB/16B 4-way set-associative I/D-unified cache.
cpu0: P0, U0, P3 write-back P1 write-back
cpu0: 4-way set-associative 128 TLB entries
cpu0: VPN mode, multiple virtual storage mode

>How-To-Repeat:
read boot-messages from any sh3 (and sh4?) platform any NetBSD version
>Fix:
add "cpu0:" to various printf()-stmts in /sys/arch/sh3/sh3/