Re: Console on 9000/425t with A1659A graphics

Miod Vallat <[email protected]> Mon, 3 Dec 2018 06:57:01 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.hp300
Organization Ghosts of Architectures Past, Ltd.
Message-ID <[email protected]>
> There is a console detection code in sys/arch/hp300/hp300/audoconf.c:
>  https://nxr.netbsd.org/diff/src/sys/arch/hp300/hp300/autoconf.c?r2=%2Fsrc%2Fsys%2Farch%2Fhp300%2Fhp300%2Fautoconf.c%401.105&r1=%2Fsrc%2Fsys%2Farch%2Fhp300%2Fhp300%2Fautoconf.c%401.104
>  https://nxr.netbsd.org/diff/src/sys/arch/hp300/dev/sti_sgc.c?r2=%2Fsrc%2Fsys%2Farch%2Fhp300%2Fdev%2Fsti_sgc.c%401.2&r1=%2Fsrc%2Fsys%2Farch%2Fhp300%2Fdev%2Fsti_sgc.c%401.1
> but maybe there is some quirk on sgc sti(4) on 425t.

Your code is assuming the SGC frame buffer, if any, is always in slot
#0. This is correct on 425e, but not on 425t where it will be in slot
#3.