Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/dev/wip/libucom Include tty driver here for now to ...



details:   https://anonhg.NetBSD.org/src/rev/5830bda3a1ff
branches:  trunk
changeset: 750218:5830bda3a1ff
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Dec 20 19:44:21 2009 +0000

description:
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)

diffstat:

 sys/rump/dev/wip/libucom/Makefile      |  5 +++--
 sys/rump/dev/wip/libucom/ucom_at_usb.c |  6 +++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 053f286091c4 -r 5830bda3a1ff sys/rump/dev/wip/libucom/Makefile
--- a/sys/rump/dev/wip/libucom/Makefile Sun Dec 20 19:38:13 2009 +0000
+++ b/sys/rump/dev/wip/libucom/Makefile Sun Dec 20 19:44:21 2009 +0000
@@ -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
diff -r 053f286091c4 -r 5830bda3a1ff sys/rump/dev/wip/libucom/ucom_at_usb.c
--- a/sys/rump/dev/wip/libucom/ucom_at_usb.c    Sun Dec 20 19:38:13 2009 +0000
+++ b/sys/rump/dev/wip/libucom/ucom_at_usb.c    Sun Dec 20 19:44:21 2009 +0000
@@ -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();
 }



Home | Main Index | Thread Index | Old Index