Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc add sio16 support.



details:   https://anonhg.NetBSD.org/src/rev/12469000d1c0
branches:  trunk
changeset: 515813:12469000d1c0
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Oct 05 13:32:00 2001 +0000

description:
add sio16 support.

diffstat:

 sys/arch/sparc/sparc/conf.c |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 2fa2f713b73a -r 12469000d1c0 sys/arch/sparc/sparc/conf.c
--- a/sys/arch/sparc/sparc/conf.c       Fri Oct 05 13:14:56 2001 +0000
+++ b/sys/arch/sparc/sparc/conf.c       Fri Oct 05 13:32:00 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.69 2001/03/26 12:33:25 lukem Exp $ */
+/*     $NetBSD: conf.c,v 1.70 2001/10/05 13:32:00 mrg Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -76,6 +76,8 @@
 #include "zstty.h"
 #include "bpp.h"
 #include "magma.h"             /* has NMTTY and NMBPP */
+#include "siosixteen.h"
+cdev_decl(cdtty);
 
 #include "fdc.h"               /* has NFDC and NFD; see files.sparc */
 
@@ -270,6 +272,12 @@
        cdev_scsibus_init(NSCSIBUS,scsibus), /* 120: SCSI bus */
        cdev_disk_init(NRAID,raid),     /* 121: RAIDframe disk driver */
        cdev_fb_init(NPNOZZ,p9100),     /* 122: /dev/cgfourteen */
+#ifdef notyet
+       cdev_pci_init(NPCI,pci),        /* 123: PCI bus access device */
+#else
+       cdev_lkm_dummy(),               /* 123 */
+#endif
+       cdev_tty_init(NCLCD,cdtty),      /* 124: Aurora multiport serial */
 };
 int    nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
 



Home | Main Index | Thread Index | Old Index