From owner-FreeBSD-users-jp@jp.FreeBSD.org Fri Aug 15 15:29:52 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h7F6Tqc05388;
	Fri, 15 Aug 2003 15:29:52 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from harmony.village.org (warner@rover.bsdimp.com [204.144.255.66])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h7F6Tp005383
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Fri, 15 Aug 2003 15:29:51 +0900 (JST)
	(envelope-from imp@bsdimp.com)
Received: from localhost (warner@rover2.village.org [10.0.0.1])
	by harmony.village.org (8.12.9/8.12.3) with ESMTP id h7F6TnFL025409;
	Fri, 15 Aug 2003 00:29:49 -0600 (MDT)
	(envelope-from imp@bsdimp.com)
Message-Id: <20030815.003131.74051188.imp@bsdimp.com>
To: kimoto@ohnolab.org
Cc: FreeBSD-users-jp@jp.FreeBSD.org, yasu@utahime.org
From: "M. Warner Losh" <imp@bsdimp.com>
In-Reply-To: <20030815.100941.65656649.kimoto@ohnolab.org>
References: <20030814.093049.112977913.imp@bsdimp.com>
	<20030815.080246.53363019.yasu@utahime.org>
	<20030815.100941.65656649.kimoto@ohnolab.org>
X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 15 Aug 2003 00:31:31 -0600
X-Sequence: FreeBSD-users-jp 75833
Subject: [FreeBSD-users-jp 75833] Re: CPU name of VIA C3 at boot time
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: imp@bsdimp.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030814

:  > "cpu_id & 0xff0"$B$H$$$&<0$,(B0x678,0x67a,0x689,0x691,0x693$B$H$$$C$?CM$K$J$k(B
:  > $B$3$H$O$"$jF@$J$$$N$G!"$3$N(Bswitch$BJ8$O0U?^$5$l$?$h$&$K$OF0$+$J$$$H;W$$$^(B
:  > $B$9!#(B
:  > 
:  > Because the expression "cpu_id & 0xff0" never has such value as 0x678,
:  > 0x67a, 0x689, 0x691 and 0x693, I'm afraid this switch statement does
:  > not work as is expected.
: 
: You're right.

$B;d$O(Bcommit$B$9$kA0$K(B & 0xff00$B$r8+$^$7$?$G$7$?!#(BKIMURA$B$5$s$,@5$7$$$G$9!#(B

I did not notice the (& 0xff0) before committing.  KIMURA-san is
correct.

:  > $B$*$=$i$/;d$,(Bsend-pr$B$7$?(Bpatch$B$N$h$&$K$9$k$N$,$h$$$N$G$O$J$$$+$H!#(B
:  > 
:  > Maybe my send-pr-ed patch is better solution.
: 
: Agree.
: 
: Warner-san, would you re-commit the KIMURA-san's patch(i386/55581)? 
: That would correct my mistake.

KIMURA$B$5$s$N%Q%C%A$,!V(BSamuel$B!W$r;}$C$F$$$^$;$s!#Fs$D$r%^!<%8$7$F!"JQ99(B
$B$r(Bcommit$B$7$^$7$?!#(B

$B%o!<%J!<(B

I think that KIMURA-san's patch is missing the the "Samuel," which
your patch included.  I've merged the two and committed the change.

Warner
