Re: map_isa_ioregs

Frank Wille <[email protected]>
Newsgroups gmane.os.netbsd.ports.ofppc
Organization Privates Internet Ostwestfalen/Lippe e.V.
Message-ID <[email protected]>
Tim Rightnour wrote:

>> 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?

Did you try it? I think it should still work. Now, cninit_kd() is called
always, when "device_type" is not "serial". Before, it was only called when
"device_type" is "display".

-- 
    _  Frank Wille ([email protected])
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx @ #AmigaGer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.