summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>1999-05-02 20:56:18 +0000
committerHarald Koerfgen <hkoerfg@web.de>1999-05-02 20:56:18 +0000
commit9258cfc6e1c91e593152120a59983c9e9f761855 (patch)
tree59682d43c39a936d433b91d345bcd4dfa31cc3c8 /drivers/char
parent4a7fdfbd17814fc999257f81256fe34e4bd20bdd (diff)
Some minor bugfixes
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/dz.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/char/dz.c b/drivers/char/dz.c
index 347638591..c26a448e8 100644
--- a/drivers/char/dz.c
+++ b/drivers/char/dz.c
@@ -1401,7 +1401,7 @@ __initfunc(int dz_init(void))
static void dz_console_put_char (unsigned char ch)
{
long flags;
- int loops = 1000;
+ int loops = 2500;
unsigned short tmp = ch;
/* this code sends stuff out to serial device - spinning its
wheels and waiting. */
@@ -1513,7 +1513,10 @@ __initfunc(static int dz_console_setup(struct console *co, char *options))
/* TOFIX: force to console line */
dz_console = &multi[CONSOLE_LINE];
+ if ((mips_machtype == MACH_DS23100) || (mips_machtype == MACH_DS5100))
dz_console->port = KN01_DZ11_BASE;
+ else
+ dz_console->port = KN02_DZ11_BASE;
dz_console->line = CONSOLE_LINE;
dz_out(dz_console, DZ_CSR, DZ_CLR);
@@ -1541,7 +1544,10 @@ __initfunc(static int dz_console_setup(struct console *co, char *options))
/* TOFIX: force to console line */
dz_console = &multi[CONSOLE_LINE];
+ if ((mips_machtype == MACH_DS23100) || (mips_machtype == MACH_DS5100))
dz_console->port = KN01_DZ11_BASE;
+ else
+ dz_console->port = KN02_DZ11_BASE;
dz_console->line = CONSOLE_LINE;
dz_out(dz_console, DZ_CSR, DZ_CLR);