Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 20:16:45 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187236 - head/sys/mips/mips
Message-ID:  <200901142016.n0EKGjmK052771@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Wed Jan 14 20:16:44 2009
New Revision: 187236
URL: http://svn.freebsd.org/changeset/base/187236

Log:
  o Move $FreeBSD$ from comment to __FBSDID macro
  o Be a bit more verbose about CPU type during boot process (print
      manufacturer, chip info, MMU and cache parameters)

Modified:
  head/sys/mips/mips/cpu.c

Modified: head/sys/mips/mips/cpu.c
==============================================================================
--- head/sys/mips/mips/cpu.c	Wed Jan 14 20:03:50 2009	(r187235)
+++ head/sys/mips/mips/cpu.c	Wed Jan 14 20:16:44 2009	(r187236)
@@ -22,9 +22,11 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD$
  */
 
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
 #include <sys/param.h>
 #include <sys/kernel.h>
 #include <sys/module.h>
@@ -132,6 +134,8 @@ mips_cpu_init(void)
 
 	mips_icache_sync_all();
 	mips_dcache_wbinv_all();
+	/* Print some info about CPU */
+	cpu_identify();
 }
 
 void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901142016.n0EKGjmK052771>