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:
parent
a7b6a14aee
commit
653700758e
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user