Move console probes until after we set boothowto so that 'boot -h' works.

This commit is contained in:
dfr 2001-10-06 16:06:48 +00:00
parent bfef499fd2
commit 9c40c48b35

View File

@ -562,13 +562,6 @@ ia64_init(u_int64_t arg1, u_int64_t arg2)
}
}
/*
* Initialize the console before we print anything out.
*/
cninit();
/* OUTPUT NOW ALLOWED */
/*
* Look at arguments passed to us and compute boothowto.
*/
@ -589,6 +582,13 @@ ia64_init(u_int64_t arg1, u_int64_t arg2)
if (boothowto & RB_VERBOSE)
bootverbose = 1;
/*
* Initialize the console before we print anything out.
*/
cninit();
/* OUTPUT NOW ALLOWED */
/*
* Wire things up so we can call the firmware.
*/