summaryrefslogtreecommitdiff
path: root/arch/sparc64/kernel
diff options
context:
space:
mode:
authorEddie C. Dost <ecd@brainaid.de>2006-01-18 22:54:31 (GMT)
committerDavid S. Miller <davem@davemloft.net>2006-01-18 22:54:31 (GMT)
commitc126cf80d450a4d0aac3de7162d4c14b5c971b24 (patch)
treedfac36b98cd1ff6d05d2a15482c39c2ecedc5cb3 /arch/sparc64/kernel
parentc07a8475ddcadb55b11379c35c9586971a9cedbf (diff)
downloadlinux-fsl-qoriq-c126cf80d450a4d0aac3de7162d4c14b5c971b24.tar.xz
[SPARC64]: Serial Console for E250 Patch
From: Eddie C. Dost <ecd@brainaid.de> I have the following patch for serial console over the RSC (remote system controller) on my E250 machine. It basically adds support for input-device=rsc and output-device=rsc from OBP, and allows 115200,8,n,1,- serial mode setting. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r--arch/sparc64/kernel/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c
index 2507458..054461e 100644
--- a/arch/sparc64/kernel/setup.c
+++ b/arch/sparc64/kernel/setup.c
@@ -561,6 +561,8 @@ static int __init set_preferred_console(void)
serial_console = 1;
} else if (idev == PROMDEV_ITTYB && odev == PROMDEV_OTTYB) {
serial_console = 2;
+ } else if (idev == PROMDEV_IRSC && odev == PROMDEV_ORSC) {
+ serial_console = 3;
} else {
prom_printf("Inconsistent console: "
"input %d, output %d\n",