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)
This commit is contained in:
parent
204f6553a5
commit
a942008121
@ -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
|
||||
|
@ -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 @@ do { \
|
||||
panic("\"%s\" failed", #call); \
|
||||
} while (/*CONSTCOND*/0)
|
||||
|
||||
void tty_init(void);
|
||||
|
||||
void
|
||||
rump_device_configuration(void)
|
||||
{
|
||||
@ -442,4 +444,6 @@ rump_device_configuration(void)
|
||||
cmaj, 0, 1));
|
||||
FLAWLESSCALL(rump_vfs_makedevnodes(S_IFCHR, "/dev/dtyU", '0',
|
||||
cmaj, 0x80000, 1));
|
||||
|
||||
tty_init();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user