don't pass the firmware's console environment variable to the various console

initialization functions any more.  None of them used it, and they can
get the same data more easily via the RPB.
This commit is contained in:
cgd 1996-06-12 22:06:40 +00:00
parent f6d4b1367d
commit 3b3f71fb25
11 changed files with 23 additions and 31 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_2100_a50.c,v 1.7 1996/06/12 19:00:19 cgd Exp $ */
/* $NetBSD: dec_2100_a50.c,v 1.8 1996/06/12 22:06:40 cgd Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -78,8 +78,7 @@ dec_2100_a50_modelname()
}
void
dec_2100_a50_consinit(constype)
char *constype;
dec_2100_a50_consinit()
{
struct ctb *ctb;
struct apecs_config *acp;
@ -90,7 +89,6 @@ dec_2100_a50_consinit(constype)
ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off);
printf("constype = %s\n", constype);
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_2100_a50.h,v 1.3 1996/06/12 19:00:20 cgd Exp $ */
/* $NetBSD: dec_2100_a50.h,v 1.4 1996/06/12 22:06:41 cgd Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@ -28,4 +28,4 @@
*/
char *dec_2100_a50_modelname __P((void));
void dec_2100_a50_consinit __P((char *));
void dec_2100_a50_consinit __P((void));

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_3000_300.c,v 1.3 1996/06/12 19:00:21 cgd Exp $ */
/* $NetBSD: dec_3000_300.c,v 1.4 1996/06/12 22:06:42 cgd Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@ -55,8 +55,7 @@ dec_3000_300_modelname()
}
void
dec_3000_300_consinit(constype)
char *constype;
dec_3000_300_consinit()
{
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_3000_300.h,v 1.3 1996/06/12 19:00:22 cgd Exp $ */
/* $NetBSD: dec_3000_300.h,v 1.4 1996/06/12 22:06:44 cgd Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@ -28,4 +28,4 @@
*/
char *dec_3000_300_modelname __P((void));
void dec_3000_300_consinit __P((char *));
void dec_3000_300_consinit __P((void));

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_3000_500.c,v 1.2 1996/06/12 19:00:23 cgd Exp $ */
/* $NetBSD: dec_3000_500.c,v 1.3 1996/06/12 22:06:45 cgd Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -73,8 +73,7 @@ systype_flamingo:
}
void
dec_3000_500_consinit(constype)
char *constype;
dec_3000_500_consinit()
{
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_3000_500.h,v 1.3 1996/06/12 19:00:24 cgd Exp $ */
/* $NetBSD: dec_3000_500.h,v 1.4 1996/06/12 22:06:46 cgd Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@ -28,4 +28,4 @@
*/
char *dec_3000_500_modelname __P((void));
void dec_3000_500_consinit __P((char *));
void dec_3000_500_consinit __P((void));

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_axppci_33.c,v 1.5 1996/06/12 19:00:25 cgd Exp $ */
/* $NetBSD: dec_axppci_33.c,v 1.6 1996/06/12 22:06:47 cgd Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -61,8 +61,7 @@ dec_axppci_33_modelname()
}
void
dec_axppci_33_consinit(constype)
char *constype;
dec_axppci_33_consinit()
{
struct ctb *ctb;
struct lca_config *lcp;
@ -73,7 +72,6 @@ dec_axppci_33_consinit(constype)
ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off);
printf("constype = %s\n", constype);
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_axppci_33.h,v 1.2 1996/06/12 19:00:26 cgd Exp $ */
/* $NetBSD: dec_axppci_33.h,v 1.3 1996/06/12 22:06:48 cgd Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@ -28,4 +28,4 @@
*/
char *dec_axppci_33_modelname __P((void));
void dec_axppci_33_consinit __P((char *));
void dec_axppci_33_consinit __P((void));

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_kn20aa.c,v 1.5 1996/06/12 19:00:28 cgd Exp $ */
/* $NetBSD: dec_kn20aa.c,v 1.6 1996/06/12 22:06:50 cgd Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -61,8 +61,7 @@ dec_kn20aa_modelname()
}
void
dec_kn20aa_consinit(constype)
char *constype;
dec_kn20aa_consinit()
{
struct ctb *ctb;
struct cia_config *ccp;
@ -73,7 +72,6 @@ dec_kn20aa_consinit(constype)
ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off);
printf("constype = %s\n", constype);
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);

View File

@ -1,4 +1,4 @@
/* $NetBSD: dec_kn20aa.h,v 1.2 1996/06/12 19:00:29 cgd Exp $ */
/* $NetBSD: dec_kn20aa.h,v 1.3 1996/06/12 22:06:51 cgd Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@ -28,4 +28,4 @@
*/
char *dec_kn20aa_modelname __P((void));
void dec_kn20aa_consinit __P((char *));
void dec_kn20aa_consinit __P((void));

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.23 1996/06/12 19:00:17 cgd Exp $ */
/* $NetBSD: machdep.c,v 1.24 1996/06/12 22:06:52 cgd Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -174,7 +174,7 @@ int ncpus;
/* various CPU-specific functions. */
char *(*cpu_modelname) __P((void));
void (*cpu_consinit) __P((char *));
void (*cpu_consinit) __P((void));
char *cpu_iobus;
char *boot_file, *boot_flags, *boot_console, *boot_dev;
@ -603,7 +603,7 @@ void
consinit()
{
(*cpu_consinit)(boot_console);
(*cpu_consinit)();
pmap_unmap_prom();
}