Module Name: src Committed By: thorpej Date: Sun Mar 3 19:56:30 UTC 2024
Modified Files: src/sys/arch/alpha/alpha: prom.c Log Message: prom_uses_prom_console() needs to consider ST_DEC_7000, as well. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/alpha/alpha/prom.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/alpha/alpha/prom.c diff -u src/sys/arch/alpha/alpha/prom.c:1.58 src/sys/arch/alpha/alpha/prom.c:1.59 --- src/sys/arch/alpha/alpha/prom.c:1.58 Sat Oct 3 17:31:46 2020 +++ src/sys/arch/alpha/alpha/prom.c Sun Mar 3 19:56:29 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: prom.c,v 1.58 2020/10/03 17:31:46 thorpej Exp $ */ +/* $NetBSD: prom.c,v 1.59 2024/03/03 19:56:29 thorpej Exp $ */ /* * Copyright (c) 1992, 1994, 1995, 1996 Carnegie Mellon University @@ -27,7 +27,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: prom.c,v 1.58 2020/10/03 17:31:46 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: prom.c,v 1.59 2024/03/03 19:56:29 thorpej Exp $"); #include "opt_multiprocessor.h" @@ -89,7 +89,7 @@ bool prom_uses_prom_console(void) { #ifdef _PROM_MAY_USE_PROM_CONSOLE - return (cputype == ST_DEC_21000); + return (cputype == ST_DEC_7000 || cputype == ST_DEC_21000); #else return false; #endif