Module Name: src
Committed By: christos
Date: Thu Aug 20 11:59:16 UTC 2015
Modified Files:
src/sys/rump/kern/lib/libtty: Makefile tty_component.c
Added Files:
src/sys/rump/kern/lib/libtty: TTY.ioconf
Log Message:
use ioconf.h for pseudo-device attach prototypes
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/rump/kern/lib/libtty/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/rump/kern/lib/libtty/TTY.ioconf
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/kern/lib/libtty/tty_component.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/kern/lib/libtty/Makefile
diff -u src/sys/rump/kern/lib/libtty/Makefile:1.5 src/sys/rump/kern/lib/libtty/Makefile:1.6
--- src/sys/rump/kern/lib/libtty/Makefile:1.5 Thu Apr 23 10:49:26 2015
+++ src/sys/rump/kern/lib/libtty/Makefile Thu Aug 20 07:59:16 2015
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.5 2015/04/23 14:49:26 pooka Exp $
+# $NetBSD: Makefile,v 1.6 2015/08/20 11:59:16 christos Exp $
#
-.include <bsd.init.mk>
-
.PATH: ${.CURDIR}/../../../../kern \
${.CURDIR}/../../../../compat/common
LIB= rumpkern_tty
-
+IOCONF= TTY.ioconf
SRCS= tty.c tty_bsdpty.c tty_conf.c tty_ptm.c tty_pty.c tty_tty.c tty_subr.c
+.include <bsd.init.mk>
+
.if !empty(RUMP_NBCOMPAT:M60)
SRCS+= tty_60.c
.endif
Index: src/sys/rump/kern/lib/libtty/tty_component.c
diff -u src/sys/rump/kern/lib/libtty/tty_component.c:1.1 src/sys/rump/kern/lib/libtty/tty_component.c:1.2
--- src/sys/rump/kern/lib/libtty/tty_component.c:1.1 Wed Mar 12 22:02:30 2014
+++ src/sys/rump/kern/lib/libtty/tty_component.c Thu Aug 20 07:59:16 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: tty_component.c,v 1.1 2014/03/13 02:02:30 pooka Exp $ */
+/* $NetBSD: tty_component.c,v 1.2 2015/08/20 11:59:16 christos Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty_component.c,v 1.1 2014/03/13 02:02:30 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty_component.c,v 1.2 2015/08/20 11:59:16 christos Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -36,7 +36,7 @@ __KERNEL_RCSID(0, "$NetBSD: tty_componen
#include "rump_private.h"
#include "rump_vfs_private.h"
-void ptyattach(int);
+#include "ioconf.h"
RUMP_COMPONENT(RUMP_COMPONENT_KERN_VFS)
{
Added files:
Index: src/sys/rump/kern/lib/libtty/TTY.ioconf
diff -u /dev/null src/sys/rump/kern/lib/libtty/TTY.ioconf:1.1
--- /dev/null Thu Aug 20 07:59:16 2015
+++ src/sys/rump/kern/lib/libtty/TTY.ioconf Thu Aug 20 07:59:16 2015
@@ -0,0 +1,7 @@
+# $NetBSD: TTY.ioconf,v 1.1 2015/08/20 11:59:16 christos Exp $
+
+ioconf tty
+
+include "conf/files"
+
+pseudo-device pty