Subject: Re: map_isa_ioregs
To: Frank Wille <frank@phoenix.owl.de>
From: Tim Rightnour <root@garbled.net>
List: port-ofppc
Date: 11/08/2007 13:45:23
On 08-Nov-2007 Frank Wille wrote:
> Not even serial console works here. But I debugged the problem today:
> 
> First, when working with physical console, checking for device_type property
> "display" fails on the Pegasos. It is called "bootconsole". Additionally,
> when the pckbc driver is missing, cninit_kd() would just return, instead of
> falling back to the ofwbootcons.
> 
> Second, when using a serial terminal, the check for the name-property
> "serial" fails, which is "failsafe" here. IMHO this check is not needed at
> all, because it is a fallback to the ofwbootcons.

This patch looks good except for where you deleted the section that calls the
cninit_kbd.  macppc needs that code.  Can you make cninit_kbd return truth of
some kind and then fall down?

---
Tim Rightnour <root@garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/