This prevents the Solaris 8 kernel from freezing during boot after detecting the serial ports.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk --- openbios-devel/drivers/escc.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/openbios-devel/drivers/escc.c b/openbios-devel/drivers/escc.c index ef431b2..892dc8c 100644 --- a/openbios-devel/drivers/escc.c +++ b/openbios-devel/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",