Undid the last 2 commits. Rev.1.43 reversed the changes in rev.1.42 and

rev.1.44 was a subset of them.
This commit is contained in:
Bruce Evans 1996-03-28 15:03:41 +00:00
parent 7f49be143c
commit cf78fc4129
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14880
2 changed files with 8 additions and 8 deletions

View file

@ -36,7 +36,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91 * from: @(#)cons.c 7.2 (Berkeley) 5/9/91
* $Id: cons.c,v 1.43 1996/03/27 19:04:54 bde Exp $ * $Id: cons.c,v 1.44 1996/03/28 14:28:14 scrappy Exp $
*/ */
#include <sys/param.h> #include <sys/param.h>
@ -327,9 +327,9 @@ cn_drvinit(void *unused)
cdevsw_add(&dev,&cn_cdevsw,NULL); cdevsw_add(&dev,&cn_cdevsw,NULL);
cn_devsw_installed = 1; cn_devsw_installed = 1;
#ifdef DEVFS #ifdef DEVFS
cn_devfs_token = cn_devfs_token = devfs_add_devswf(&cn_cdevsw, 0, DV_CHR,
devfs_add_devswf(&cn_cdevsw, 0, DV_CHR, 0, 0, UID_ROOT, GID_WHEEL, 0600,
0640, "console"); "console");
#endif #endif
} }
} }

View file

@ -36,7 +36,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91 * from: @(#)cons.c 7.2 (Berkeley) 5/9/91
* $Id: cons.c,v 1.43 1996/03/27 19:04:54 bde Exp $ * $Id: cons.c,v 1.44 1996/03/28 14:28:14 scrappy Exp $
*/ */
#include <sys/param.h> #include <sys/param.h>
@ -327,9 +327,9 @@ cn_drvinit(void *unused)
cdevsw_add(&dev,&cn_cdevsw,NULL); cdevsw_add(&dev,&cn_cdevsw,NULL);
cn_devsw_installed = 1; cn_devsw_installed = 1;
#ifdef DEVFS #ifdef DEVFS
cn_devfs_token = cn_devfs_token = devfs_add_devswf(&cn_cdevsw, 0, DV_CHR,
devfs_add_devswf(&cn_cdevsw, 0, DV_CHR, 0, 0, UID_ROOT, GID_WHEEL, 0600,
0640, "console"); "console");
#endif #endif
} }
} }