DEC_KN300 no longer uses PROM console.

This commit is contained in:
thorpej 1999-04-15 22:15:38 +00:00
parent 1287bb8599
commit 9a4a0a3c81
2 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.92 1999/04/15 21:21:25 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.93 1999/04/15 22:15:38 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@ -155,7 +155,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.92 1999/04/15 21:21:25 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.93 1999/04/15 22:15:38 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -944,10 +944,9 @@ pmap_uses_prom_console()
{
#if defined(NEW_SCC_DRIVER)
return (cputype == ST_DEC_21000 || cputype == ST_DEC_4100);
return (cputype == ST_DEC_21000);
#else
return (cputype == ST_DEC_21000
|| cputype == ST_DEC_4100
|| cputype == ST_DEC_3000_300
|| cputype == ST_DEC_3000_500);
#endif /* NEW_SCC_DRIVER */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.26 1999/02/24 19:22:17 thorpej Exp $ */
/* $NetBSD: pmap.h,v 1.27 1999/04/15 22:15:39 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -184,16 +184,14 @@ struct pv_page {
#include "opt_dec_3000_300.h" /* XXX */
#include "opt_dec_3000_500.h" /* XXX */
#include "opt_dec_kn8ae.h" /* XXX */
#include "opt_dec_kn300.h" /* XXX */
#if defined(NEW_SCC_DRIVER)
#if defined(DEC_KN8AE) || defined(DEC_KN300)
#if defined(DEC_KN8AE)
#define _PMAP_MAY_USE_PROM_CONSOLE
#endif
#else /* ! NEW_SCC_DRIVER */
#if defined(DEC_3000_300) \
|| defined(DEC_3000_500) \
|| defined(DEC_KN300) \
|| defined(DEC_KN8AE) /* XXX */
#define _PMAP_MAY_USE_PROM_CONSOLE /* XXX */
#endif /* XXX */