summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/etc.sgi/MAKEDEV.md5
-rw-r--r--sys/arch/sgi/sgi/conf.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/etc/etc.sgi/MAKEDEV.md b/etc/etc.sgi/MAKEDEV.md
index a7546c132db..21e154623be 100644
--- a/etc/etc.sgi/MAKEDEV.md
+++ b/etc/etc.sgi/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.4 2004/08/06 23:16:31 mickey Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.5 2004/09/21 07:55:48 miod Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
@@ -44,8 +44,9 @@ _DEV(ccd, 23, 6)
_TITLE(term)
_DEV(com, 17)
_TITLE(pty)
-_DEV(tty, 4)
+_DEV(ptm, 52)
_DEV(pty, 5)
+_DEV(tty, 4)
_TITLE(cons)
_DEV(wscons)
_DEV(wsdisp, 25)
diff --git a/sys/arch/sgi/sgi/conf.c b/sys/arch/sgi/sgi/conf.c
index b1bd4797c0c..1a25a9ca358 100644
--- a/sys/arch/sgi/sgi/conf.c
+++ b/sys/arch/sgi/sgi/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.3 2004/08/11 15:13:35 deraadt Exp $ */
+/* $OpenBSD: conf.c,v 1.4 2004/09/21 07:55:50 miod Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -215,6 +215,7 @@ cdev_wsdisplay_init(NWSDISPLAY, wsdisplay), /* 25: */
#else
cdev_notdef(), /* 51: */
#endif
+ cdev_ptm_init(NPTY,ptm), /* 52: pseudo-tty ptm device */
};
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);