Previous commit mistakenly delayed cnadd() as well as make_dev().

Testing on cluster ref machine with just delaying make_dev() seems
to work, and results in printf() output appearing sooner in boot
cycle instead of going to /dev/null.

Caught by:	bde
Pointy hat:	kensmith
Approved by:	rwatson (mentor)
This commit is contained in:
Ken Smith 2004-02-28 16:36:14 +00:00
parent a7b6a14aee
commit 653700758e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126352

View file

@ -255,8 +255,8 @@ promcnattach(int alpha_console)
promcons_dly_mkdev++;
else {
make_dev(&prom_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "promcons");
cnadd(&prom_consdev);
}
cnadd(&prom_consdev);
promcn_attached = 1;
}
@ -265,7 +265,6 @@ promcons_delayed_makedev(void)
{
if (promcn_attached) {
make_dev(&prom_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "promcons");
cnadd(&prom_consdev);
}
}