Oops, forgot this in last kilocommit:

Attach com at drsupio, drsupio at mainbus, and make
the ttyC0 stuff refer to the com driver.
This commit is contained in:
is 1997-08-27 20:18:19 +00:00
parent 0564e80e3e
commit 2f824e16e8
2 changed files with 6 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.54 1997/07/23 10:47:12 is Exp $ */
/* $NetBSD: autoconf.c,v 1.55 1997/08/27 20:18:19 is Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -265,14 +265,7 @@ mbattach(pdp, dp, auxp)
config_found(dp, "drbbc", simple_devprint);
config_found(dp, "kbd", simple_devprint);
config_found(dp, "drsc", simple_devprint);
config_found(dp, "drcom", simple_devprint);
config_found(dp, "drcom", simple_devprint);
/*
* XXX -- missing here:
* SuperIO chip parallel, floppy
* or maybe just make that into a pseudo
* ISA bus.
*/
config_found(dp, "drsupio", simple_devprint);
} else
#endif
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: conf.c,v 1.43 1997/06/14 22:24:06 is Exp $ */
/* $NetBSD: conf.c,v 1.44 1997/08/27 20:18:20 is Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@ -90,7 +90,8 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
#include "ms.h"
#include "view.h"
#include "mfcs.h"
#include "drcom.h"
#include "com.h"
cdev_decl(com);
#include "audio.h"
cdev_decl(audio);
dev_decl(filedesc,open);
@ -132,7 +133,7 @@ struct cdevsw cdevsw[] =
cdev_lkm_dummy(), /* 29 */
cdev_lkm_dummy(), /* 30 */
cdev_tty_init(NMSC,msc), /* 31: A2232 MSC Multiport serial */
cdev_tty_init(NDRCOM,drcom), /* 32: DraCo com ports */
cdev_tty_init(NCOM,com), /* 32: com ports */
cdev_lkm_dummy(), /* 33 */
cdev_lkm_dummy(), /* 34 */
cdev_lkm_dummy(), /* 35 */