summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authordgregor <dgregor@cvs.openbsd.org>1997-08-04 10:01:44 +0000
committerdgregor <dgregor@cvs.openbsd.org>1997-08-04 10:01:44 +0000
commit8c060ded7d6316b1e9c26d6217f540b6cd06a161 (patch)
tree5c015735d8e9bd894787cdd266fd42d233d84f68 /sys/arch
parente0e150bafa73a98e455b9e4ea6c69e30a8c47cad (diff)
Add Cyclades serial driver as character major number 38.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/conf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c
index 7706e09157c..fc2f1071577 100644
--- a/sys/arch/alpha/alpha/conf.c
+++ b/sys/arch/alpha/alpha/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.12 1997/07/06 18:12:01 niklas Exp $ */
+/* $OpenBSD: conf.c,v 1.13 1997/08/04 10:01:43 dgregor Exp $ */
/* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */
/*-
@@ -123,6 +123,8 @@ cdev_decl(ipl);
cdev_decl(prom); /* XXX XXX XXX */
cdev_decl(wd);
cdev_decl(acd);
+#include "cy.h"
+cdev_decl(cy);
struct cdevsw cdevsw[] =
{
@@ -164,6 +166,7 @@ struct cdevsw cdevsw[] =
cdev_gen_ipf(NIPF,ipl), /* 35: IP filter log */
cdev_disk_init(NWDC,wd), /* 36: ST506/ESDI/IDE disk */
cdev_disk_init(NACD,acd), /* 37: ATAPI CD-ROM */
+ cdev_tty_init(NCY,cy), /* 38: Cyclom serial port */
};
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);
@@ -243,6 +246,7 @@ static int chrtoblktbl[] = {
/* 35 */ NODEV,
/* 36 */ 0,
/* 37 */ 4,
+ /* 38 */ NODEV,
};
/*