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:
Jordan K. Hubbard 1999-11-21 02:54:54 +00:00
parent 75b7d1d0ef
commit 87d643ce34
1 changed files with 2 additions and 0 deletions

View File

@ -813,6 +813,8 @@ static void
ptc_drvinit(unused)
void *unused;
{
cdevsw_add(&pts_cdevsw);
cdevsw_add(&ptc_cdevsw);
/* XXX: Gross hack for DEVFS */
ptyinit(0);
}