From 005787ba9a445bc2dce6d820eaae0c3741ca67e0 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 10 Mar 2019 00:24:31 +0000 Subject: [PATCH] linc80: send the console messages to SIO B --- Kernel/platform-linc80/devtty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-linc80/devtty.c b/Kernel/platform-linc80/devtty.c index 4bf1e75c..072e8043 100644 --- a/Kernel/platform-linc80/devtty.c +++ b/Kernel/platform-linc80/devtty.c @@ -161,8 +161,8 @@ void kputchar(char c) /* Can't use the normal paths as we must survive interrupts off */ /* FIXME: would be nicer to just disable tx int and re-enable it ? */ irqflags_t irq = di(); - while(!(SIOA_C & 0x04)); - SIOA_D = c; + while(!(SIOB_C & 0x04)); + SIOB_D = c; if (c == '\n') kputchar('\r'); irqrestore(irq); -- 2.34.1