Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm add ixpcom to cdevsw



details:   https://anonhg.NetBSD.org/src/rev/56bf046d2a2d
branches:  trunk
changeset: 534097:56bf046d2a2d
user:      ichiro <ichiro%NetBSD.org@localhost>
date:      Tue Jul 16 14:20:04 2002 +0000

description:
add ixpcom to cdevsw

diffstat:

 sys/arch/arm/arm32/conf.c   |  4 ++--
 sys/arch/arm/include/conf.h |  3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r b47e973a8302 -r 56bf046d2a2d sys/arch/arm/arm32/conf.c
--- a/sys/arch/arm/arm32/conf.c Tue Jul 16 11:48:45 2002 +0000
+++ b/sys/arch/arm/arm32/conf.c Tue Jul 16 14:20:04 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.12 2002/06/30 23:30:07 thorpej Exp $        */
+/*     $NetBSD: conf.c,v 1.13 2002/07/16 14:20:04 ichiro Exp $ */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -477,7 +477,7 @@
        cdev_lpt_init(NULPT,ulpt),              /* 66: USB printer */
        cdev_lkm_dummy(),                       /* 67: reserved */
        cdev_lkm_dummy(),                       /* 68: reserved */
-       cdev_lkm_dummy(),                       /* 69: reserved */
+       cdev_tty_init(NIXPCOM,ixpcom),          /* 69: IXP1200 serial port */
        cdev_scsibus_init(NSCSIBUS,scsibus),    /* 70: SCSI bus */
        cdev_disk_init(NRAID,raid),             /* 71: RAIDframe disk driver */
        cdev_ugen_init(NUGEN,ugen),             /* 72: USB generic driver */
diff -r b47e973a8302 -r 56bf046d2a2d sys/arch/arm/include/conf.h
--- a/sys/arch/arm/include/conf.h       Tue Jul 16 11:48:45 2002 +0000
+++ b/sys/arch/arm/include/conf.h       Tue Jul 16 14:20:04 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.7 2002/04/19 01:04:39 wiz Exp $     */
+/*     $NetBSD: conf.h,v 1.8 2002/07/16 14:20:04 ichiro Exp $  */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -125,5 +125,6 @@
 cdev_decl(mlx);
 cdev_decl(mly);
 cdev_decl(plcom);
+cdev_decl(ixpcom);
 
 #endif /* _ARM_CONF_H_ */



Home | Main Index | Thread Index | Old Index