There seem to be some stability problems with the scif serial port driver

at the moment, possibly as a side-effect of some yet-to-be-committed SH5
speed-ups.

Work-around it for now by using com0 as the console.
This commit is contained in:
scw 2002-10-19 08:43:32 +00:00
parent 472a1ad6b2
commit c01b319dcc
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cons_machdep.c,v 1.3 2002/09/28 12:49:17 scw Exp $ */
/* $NetBSD: cons_machdep.c,v 1.4 2002/10/19 08:43:32 scw Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -69,6 +69,7 @@
static bus_space_tag_t comtag;
static bus_addr_t comaddr;
cons_decl(com);
#define COM_SPEED 38400
#endif
@ -148,7 +149,7 @@ comcnprobe(struct consdev *cn)
goto done;
cn->cn_dev = makedev(cdevsw_lookup_major(&com_cdevsw), 0);
pri = CN_NORMAL;
pri = CN_REMOTE;
done:
cn->cn_pri = pri;
@ -158,7 +159,7 @@ void
comcninit(struct consdev *cn)
{
comcnattach(comtag, comaddr, TTYDEF_SPEED, COM_FREQ, TTYDEF_CFLAG);
comcnattach(comtag, comaddr, COM_SPEED, COM_FREQ, TTYDEF_CFLAG);
}
#endif /* NCOM > 0 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: scif.c,v 1.7 2002/10/02 15:52:36 thorpej Exp $ */
/* $NetBSD: scif.c,v 1.8 2002/10/19 08:43:33 scw Exp $ */
/*-
* Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu. All rights reserved.
@ -1473,7 +1473,7 @@ scifcnprobe(struct consdev *cp)
{
/* Initialize required fields. */
cp->cn_dev = makedev(cdevsw_lookup_major(&scif_cdevsw), 0);
cp->cn_pri = CN_REMOTE;
cp->cn_pri = CN_NORMAL;
}
void