Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mmeye/mmeye Add scif console to constab.



details:   https://anonhg.NetBSD.org/src/rev/754182f64033
branches:  trunk
changeset: 761599:754182f64033
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Wed Feb 02 04:21:07 2011 +0000

description:
Add scif console to constab.
Also include "sci.h".

diffstat:

 sys/arch/mmeye/mmeye/conf.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r ccd51bdcf441 -r 754182f64033 sys/arch/mmeye/mmeye/conf.c
--- a/sys/arch/mmeye/mmeye/conf.c       Wed Feb 02 04:18:14 2011 +0000
+++ b/sys/arch/mmeye/mmeye/conf.c       Wed Feb 02 04:21:07 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.13 2005/12/11 12:18:16 christos Exp $       */
+/*     $NetBSD: conf.c,v 1.14 2011/02/02 04:21:07 kiyohara Exp $       */
 
 /*
  * Copyright (c) 1994, 1995 Charles M. Hannum.  All rights reserved.
@@ -30,20 +30,27 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.13 2005/12/11 12:18:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.14 2011/02/02 04:21:07 kiyohara Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
 
+#include "scif.h"
+#include "sci.h"
 #include "com.h"
 
 #include <dev/cons.h>
 
+#define scifcnpollc    nullcnpollc
 #define scicnpollc     nullcnpollc
+cons_decl(scif);
 cons_decl(sci);
 cons_decl(com);
 
 struct consdev constab[] = {
+#if NSCIF > 0
+       cons_init(scif),
+#endif
 #if NSCI > 0
        cons_init(sci),
 #endif



Home | Main Index | Thread Index | Old Index