diff options
| author | rafal <rafal@NetBSD.org> | 2003-01-03 06:26:06 +0000 |
|---|---|---|
| committer | rafal <rafal@NetBSD.org> | 2003-01-03 06:26:06 +0000 |
| commit | f2c485b280e130edc709267fc3e1558fdcd19bb2 (patch) | |
| tree | f5a9cb9691a8385b62f695d399036105fcbe18b2 /sys | |
| parent | fe84d50d7e67fdcd09cbbd5655f6eb4f8c31b162 (diff) | |
Move console setup after we've determined machine type so the console init
code can guess where to find a console depending on machine type.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/sgimips/sgimips/machdep.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/arch/sgimips/sgimips/machdep.c b/sys/arch/sgimips/sgimips/machdep.c index bdd4e2dc24a..5ae195921f9 100644 --- a/sys/arch/sgimips/sgimips/machdep.c +++ b/sys/arch/sgimips/sgimips/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.43 2002/12/23 21:04:23 pooka Exp $ */ +/* $NetBSD: machdep.c,v 1.44 2003/01/03 06:26:06 rafal Exp $ */ /* * Copyright (c) 2000 Soren S. Jorvang @@ -233,12 +233,6 @@ mach_init(argc, argv, magic, btinfo) kernstartpfn = atop(MIPS_KSEG0_TO_PHYS((vaddr_t) kernel_text)); kernendpfn = atop(MIPS_KSEG0_TO_PHYS(kernend)); - /* - * Now set up the real console. - * XXX Should be done later after we determine systype. - */ - consinit(); - #if 1 /* skidt? */ ARCBIOS->FlushAllCaches(); #endif @@ -360,6 +354,11 @@ mach_init(argc, argv, magic, btinfo) break; } + /* + * Now that we know the system type, set up the real console + */ + consinit(); + physmem = arcsmem = 0; mem_cluster_cnt = 0; mem = NULL; |
