Module Name: src Committed By: jdc Date: Sat Oct 26 18:47:27 UTC 2013
Modified Files: src/sys/arch/sparc64/include: autoconf.h Log Message: Allow machine_banner and machine_model to be used outside autoconf.c, for example, by drivers that need to match on model name. Suggested by mrg@. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/sparc64/include/autoconf.h 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/sparc64/include/autoconf.h diff -u src/sys/arch/sparc64/include/autoconf.h:1.31 src/sys/arch/sparc64/include/autoconf.h:1.32 --- src/sys/arch/sparc64/include/autoconf.h:1.31 Sat Oct 27 17:18:12 2012 +++ src/sys/arch/sparc64/include/autoconf.h Sat Oct 26 18:47:27 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.h,v 1.31 2012/10/27 17:18:12 chs Exp $ */ +/* $NetBSD: autoconf.h,v 1.32 2013/10/26 18:47:27 jdc Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -76,6 +76,10 @@ #include <sys/bus.h> #include <machine/promlib.h> +/* Machine banner name and model name */ +extern char machine_banner[100]; +extern char machine_model[100]; + /* This is used to map device classes to IPLs */ struct intrmap { const char *in_class;