Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/macppc Add cy.



details:   https://anonhg.NetBSD.org/src/rev/24748ac2a743
branches:  trunk
changeset: 487602:24748ac2a743
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Fri Jun 09 17:11:30 2000 +0000

description:
Add cy.

diffstat:

 sys/arch/macppc/macppc/conf.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r be18922d99a7 -r 24748ac2a743 sys/arch/macppc/macppc/conf.c
--- a/sys/arch/macppc/macppc/conf.c     Fri Jun 09 16:59:03 2000 +0000
+++ b/sys/arch/macppc/macppc/conf.c     Fri Jun 09 17:11:30 2000 +0000
@@ -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.
@@ -148,6 +148,8 @@
 
 #include "com.h"
 cdev_decl(com);
+#include "cy.h"
+cdev_decl(cy);
 
 struct cdevsw cdevsw[] = {
        cdev_cn_init(1,cn),             /* 0: virtual console */
@@ -197,6 +199,7 @@
        cdev_tty_init(NUCOM,ucom),      /* 44: USB tty */
        cdev_tty_init(NCOM,com),        /* 45: NS16x50 compatible ports */
        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];
 
@@ -277,6 +280,8 @@
        /* 43 */        NODEV,
        /* 44 */        NODEV,
        /* 45 */        NODEV,
+       /* 46 */        NODEV,
+       /* 47 */        NODEV,
 };
 
 /*



Home | Main Index | Thread Index | Old Index