Module Name: src
Committed By: pooka
Date: Sun Dec 20 19:44:21 UTC 2009
Modified Files:
src/sys/rump/dev/wip/libucom: Makefile ucom_at_usb.c
Log Message:
Include tty driver here for now to make this usable. Will disappear
from here later when I figure out the proper place.
(I'd commit it as a separate component, but I can't figure out how
to classify it, since it's logically none of vfs/net/dev)
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/dev/wip/libucom/Makefile \
src/sys/rump/dev/wip/libucom/ucom_at_usb.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/dev/wip/libucom/Makefile
diff -u src/sys/rump/dev/wip/libucom/Makefile:1.1 src/sys/rump/dev/wip/libucom/Makefile:1.2
--- src/sys/rump/dev/wip/libucom/Makefile:1.1 Sun Dec 20 15:43:13 2009
+++ src/sys/rump/dev/wip/libucom/Makefile Sun Dec 20 19:44:21 2009
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.1 2009/12/20 15:43:13 pooka Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/20 19:44:21 pooka Exp $
#
-.PATH: ${.CURDIR}/../../../../dev/usb
+.PATH: ${.CURDIR}/../../../../dev/usb ${.CURDIR}/../../../../kern
LIB= rumpdev_ucom
SRCS= ucom.c uplcom.c
SRCS+= ucom_at_usb.c
+SRCS+= tty.c tty_conf.c tty_tty.c tty_subr.c
CFLAGS+= -Wno-pointer-sign
CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs
Index: src/sys/rump/dev/wip/libucom/ucom_at_usb.c
diff -u src/sys/rump/dev/wip/libucom/ucom_at_usb.c:1.1 src/sys/rump/dev/wip/libucom/ucom_at_usb.c:1.2
--- src/sys/rump/dev/wip/libucom/ucom_at_usb.c:1.1 Sun Dec 20 15:43:13 2009
+++ src/sys/rump/dev/wip/libucom/ucom_at_usb.c Sun Dec 20 19:44:21 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: ucom_at_usb.c,v 1.1 2009/12/20 15:43:13 pooka Exp $ */
+/* $NetBSD: ucom_at_usb.c,v 1.2 2009/12/20 19:44:21 pooka Exp $ */
#include <sys/param.h>
#include <sys/types.h>
@@ -412,6 +412,8 @@
panic("\"%s\" failed", #call); \
} while (/*CONSTCOND*/0)
+void tty_init(void);
+
void
rump_device_configuration(void)
{
@@ -442,4 +444,6 @@
cmaj, 0, 1));
FLAWLESSCALL(rump_vfs_makedevnodes(S_IFCHR, "/dev/dtyU", '0',
cmaj, 0x80000, 1));
+
+ tty_init();
}