Merged from sys/dev/sio/sio.c revision 1.450.

This commit is contained in:
nyan 2004-07-24 15:13:42 +00:00
parent d9e9fab7f1
commit 20fb34d054
2 changed files with 4 additions and 2 deletions

View File

@ -785,6 +785,7 @@ siodetach(dev)
return (0);
}
com->gone = TRUE;
if (com->tp)
ttygone(com->tp);
for (i = 0 ; i < 6; i++)
destroy_dev(com->devs[i]);

View File

@ -785,6 +785,7 @@ siodetach(dev)
return (0);
}
com->gone = TRUE;
if (com->tp)
ttygone(com->tp);
for (i = 0 ; i < 6; i++)
destroy_dev(com->devs[i]);