summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-07-06 21:51:58 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-07-06 21:51:58 +0000
commit083936ccf48779c0abbc2edebf92ed7eccf35591 (patch)
tree9a83d499af76f62f221f63e534ea63cb557aafc7 /sys/arch
parentc2b80acd8456bdafc6dda937e55da3c405a0b907 (diff)
Add ucom to char. device list and change XX_UNITMASK's to match OpenBSD;
from dugsong@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/conf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c
index 45e996e5b38..6e6c3757f3a 100644
--- a/sys/arch/i386/i386/conf.c
+++ b/sys/arch/i386/i386/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.60 2000/04/15 17:36:29 jakob Exp $ */
+/* $OpenBSD: conf.c,v 1.61 2000/07/06 21:51:57 fgsch Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
@@ -204,6 +204,8 @@ cdev_decl(ugen);
cdev_decl(ulpt);
#include "urio.h"
cdev_decl(urio);
+#include "ucom.h"
+cdev_decl(ucom);
#ifdef IPFILTER
#define NIPF 1
@@ -306,6 +308,7 @@ struct cdevsw cdevsw[] =
cdev_ugen_init(NUGEN,ugen), /* 63: USB generic driver */
cdev_ulpt_init(NULPT,ulpt), /* 64: USB printers */
cdev_usbdev_init(NURIO,urio), /* 65: USB Diamond Rio 500 */
+ cdev_tty_init(NUCOM,ucom), /* 66: USB tty */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);