[PATCH] powerpc: udbg updates
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Nov 2005 05:54:12 +0000 (16:54 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:51:22 +0000 (14:51 +1100)
commitbb6b9b28d6847bc71f910e2e82c9040ff4b97ec0
tree97b0acaade2d32ddb37147ff5112318f6c292cf8
parent54b9a9aedc990dd2aefc45ab16d84f245cb7d8d0
[PATCH] powerpc: udbg updates

The udbg low level io layer has an issue with udbg_getc() returning a
char (unsigned on ppc) instead of an int, thus the -1 if you had no
available input device could end up turned into 0xff, filling your
display with bogus characters. This fixes it, along with adding a little
blob to xmon to do a delay before exiting when getting an EOF and fixing
the detection of ADB keyboards in udbg_adb.c

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_parse.c
arch/powerpc/kernel/udbg.c
arch/powerpc/kernel/udbg_16550.c
arch/powerpc/platforms/powermac/udbg_adb.c
arch/powerpc/platforms/powermac/udbg_scc.c
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/xmon/xmon.c
drivers/macintosh/via-pmu.c
include/asm-powerpc/udbg.h