This commit is contained in:
tsubai 2000-06-09 17:11:30 +00:00
parent 00ee1c57fc
commit dd703bc6f8

View File

@ -1,4 +1,4 @@
/* $NetBSD: conf.c,v 1.20 2000/06/09 16:56:51 wrstuden Exp $ */ /* $NetBSD: conf.c,v 1.21 2000/06/09 17:11:30 tsubai Exp $ */
/* /*
* Copyright (C) 1995, 1996 Wolfgang Solfrank. * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -148,6 +148,8 @@ cdev_decl(ucom);
#include "com.h" #include "com.h"
cdev_decl(com); cdev_decl(com);
#include "cy.h"
cdev_decl(cy);
struct cdevsw cdevsw[] = { struct cdevsw cdevsw[] = {
cdev_cn_init(1,cn), /* 0: virtual console */ cdev_cn_init(1,cn), /* 0: virtual console */
@ -197,6 +199,7 @@ struct cdevsw cdevsw[] = {
cdev_tty_init(NUCOM,ucom), /* 44: USB tty */ cdev_tty_init(NUCOM,ucom), /* 44: USB tty */
cdev_tty_init(NCOM,com), /* 45: NS16x50 compatible ports */ cdev_tty_init(NCOM,com), /* 45: NS16x50 compatible ports */
cdev_tty_init(NCZ,cztty), /* 46: Cyclades-Z serial port */ cdev_tty_init(NCZ,cztty), /* 46: Cyclades-Z serial port */
cdev_tty_init(NCY,cy), /* 47: Cyclom-Y serial port */
}; };
int nchrdev = sizeof cdevsw / sizeof cdevsw[0]; int nchrdev = sizeof cdevsw / sizeof cdevsw[0];
@ -277,6 +280,8 @@ static int chrtoblktbl[] = {
/* 43 */ NODEV, /* 43 */ NODEV,
/* 44 */ NODEV, /* 44 */ NODEV,
/* 45 */ NODEV, /* 45 */ NODEV,
/* 46 */ NODEV,
/* 47 */ NODEV,
}; };
/* /*