From 21575d71a51aa68d1bbda9a3859b8df60d558728 Mon Sep 17 00:00:00 2001 From: chopps Date: Sat, 30 Sep 1995 01:52:37 +0000 Subject: [PATCH] changes for msc device --- sys/arch/amiga/amiga/conf.c | 6 +++++- sys/arch/amiga/conf/GENERIC | 3 ++- sys/arch/amiga/conf/files.amiga | 6 +++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sys/arch/amiga/amiga/conf.c b/sys/arch/amiga/amiga/conf.c index 4529f0d7bb22..a23e9a2b5814 100644 --- a/sys/arch/amiga/amiga/conf.c +++ b/sys/arch/amiga/amiga/conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.31 1995/08/17 17:40:45 thorpej Exp $ */ +/* $NetBSD: conf.c,v 1.32 1995/09/30 01:52:37 chopps Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -136,6 +136,8 @@ cdev_decl(grf); cdev_decl(par); #include "ser.h" cdev_decl(ser); +#include "msc.h" +cdev_decl(msc); #include "ite.h" cdev_decl(ite); #include "kbd.h" @@ -199,6 +201,7 @@ struct cdevsw cdevsw[] = cdev_lkm_dummy(), /* 28 */ cdev_lkm_dummy(), /* 29 */ cdev_lkm_dummy(), /* 30 */ + cdev_tty_init(NMSC,msc), /* 31: A2232 MSC Multiport serial */ }; int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]); @@ -291,6 +294,7 @@ static int chrtoblktab[] = { /* 28 */ NODEV, /* 29 */ NODEV, /* 30 */ NODEV, ++ /* 31 */ NODEV, }; /* diff --git a/sys/arch/amiga/conf/GENERIC b/sys/arch/amiga/conf/GENERIC index 87fa72ec42f7..a816f95e61bb 100644 --- a/sys/arch/amiga/conf/GENERIC +++ b/sys/arch/amiga/conf/GENERIC @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.41 1995/08/20 15:13:20 chopps Exp $ +# $NetBSD: GENERIC,v 1.42 1995/09/30 01:52:46 chopps Exp $ # # GENERIC AMIGA @@ -149,6 +149,7 @@ ite2 at grf2 # terminal emulators for grf's ite3 at grf3 # terminal emulators for grf's ite4 at grf4 # terminal emulators for grf's +msc0 at zbus0 # A2232 MSC multiport serial. mfc0 at zbus0 # MultiFaceCard I/O board mfcs0 at mfc0 unit 0 # MFC serial mfcs1 at mfc0 unit 1 # MFC serial diff --git a/sys/arch/amiga/conf/files.amiga b/sys/arch/amiga/conf/files.amiga index 4a1e0aac2119..d595c15e9b8b 100644 --- a/sys/arch/amiga/conf/files.amiga +++ b/sys/arch/amiga/conf/files.amiga @@ -1,4 +1,4 @@ -# $NetBSD: files.amiga,v 1.27 1995/08/18 16:18:43 chopps Exp $ +# $NetBSD: files.amiga,v 1.28 1995/09/30 01:52:50 chopps Exp $ # maxpartitions must be first item in files.${ARCH}.newconf maxpartitions 16 # NOTE THAT AMIGA IS SPECIAL! @@ -105,6 +105,10 @@ file arch/amiga/dev/if_es.c es needs-count device ae at zbus: ifnet, ether file arch/amiga/dev/if_ae.c ae needs-count +# A2232 msc serial ports +device msc at zbus: tty +file arch/amiga/dev/msc.c msc needs-count + # Alf Data MultiFaceCard 3 #device mfch at zbus: tty #file arch/amiga/dev/mfch.c mfch needs-count