Module Name: src Committed By: phx Date: Tue Nov 22 16:56:29 UTC 2011
Modified Files: src/sys/arch/sandpoint/sandpoint: machdep.c Log Message: Print "Model:" information with oea_startup(). To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/sandpoint/sandpoint/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sandpoint/sandpoint/machdep.c diff -u src/sys/arch/sandpoint/sandpoint/machdep.c:1.58 src/sys/arch/sandpoint/sandpoint/machdep.c:1.59 --- src/sys/arch/sandpoint/sandpoint/machdep.c:1.58 Sat Aug 13 21:04:05 2011 +++ src/sys/arch/sandpoint/sandpoint/machdep.c Tue Nov 22 16:56:29 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.58 2011/08/13 21:04:05 christos Exp $ */ +/* $NetBSD: machdep.c,v 1.59 2011/11/22 16:56:29 phx Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.58 2011/08/13 21:04:05 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.59 2011/11/22 16:56:29 phx Exp $"); #include "opt_compat_netbsd.h" #include "opt_ddb.h" @@ -230,13 +230,15 @@ mem_regions(struct mem_region **mem, str void cpu_startup(void) { - int msr; + struct btinfo_prodfamily *bi_prod; void *baseaddr; + int msr; /* * Do common startup. */ - oea_startup(NULL); + bi_prod = lookup_bootinfo(BTINFO_PRODFAMILY); + oea_startup(bi_prod != NULL ? bi_prod->name : NULL); /* * Prepare EPIC and install external interrupt handler.