From 365d5cb32071f9c23ac6720a752a4281115a6ab3 Mon Sep 17 00:00:00 2001 From: mcayland Date: Wed, 27 Apr 2011 19:20:06 +0000 Subject: [PATCH] Set properties to disable carrier detection on the serial ports for SPARC32. This prevents the Solaris 8 kernel from freezing during boot after detecting the serial ports. Signed-off-by: Mark Cave-Ayland git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@1036 f158a5a8-5612-0410-a976-696ce0be7e32 --- drivers/escc.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/escc.c b/drivers/escc.c index ef431b2..892dc8c 100644 --- a/drivers/escc.c +++ b/drivers/escc.c @@ -342,6 +342,16 @@ ob_zs_init(phys_addr_t base, uint64_t offset, int intr, int slave, int keyboard) ob_intr(intr); + PUSH(0); + PUSH(0); + push_str("port-a-ignore-cd"); + fword("property"); + + PUSH(0); + PUSH(0); + push_str("port-b-ignore-cd"); + fword("property"); + fword("finish-device"); snprintf(nodebuff, sizeof(nodebuff), "/obio/zs@0,%x", -- 2.11.4.GIT