Revert peter's commit to remove cdevsw_add() - it was a bit premature
since things fail to function properly without it (pty allocation becomes somewhat haphazard).
This commit is contained in:
parent
75b7d1d0ef
commit
87d643ce34
|
@ -813,6 +813,8 @@ static void
|
||||||
ptc_drvinit(unused)
|
ptc_drvinit(unused)
|
||||||
void *unused;
|
void *unused;
|
||||||
{
|
{
|
||||||
|
cdevsw_add(&pts_cdevsw);
|
||||||
|
cdevsw_add(&ptc_cdevsw);
|
||||||
/* XXX: Gross hack for DEVFS */
|
/* XXX: Gross hack for DEVFS */
|
||||||
ptyinit(0);
|
ptyinit(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue