Subject: Re: wscons versus z8530tty
To: None <>
From: Hisashi T Fujinaka <>
List: tech-kern
Date: 02/08/2007 12:38:06
On Thu, 8 Feb 2007, Michael Lorenz wrote:

> On Feb 8, 2007, at 14:26, Julian Coleman wrote:
>>> Err, zstty does that even if it's not the console? I'd call that a
>>> bug.
>> Well, we call zstty_attach() and we've set the ZS_HWFLAG_CONSOLE_INPUT
>> flag,
>> so it does assume that it's the console.  I'd agree that there's a bug
>> but
>> I don't know if the best place to fix it is in the calling (sparc)
>> code or
>> in the zstty code.
> Whatever sets the we-are-console-flag got it wrong this time. If zstty
> just does what it's told then the bug is somewhere else.
>> I'm starting to think that fixing the sparc code would make more sense
>> -
>> don't set the console-related zst_hwflags if we are using wscons.
>> However,
>> I'm still not 100% convinced, so I'm open to suggestions ;-)
> Sounds like the right thing to do to me. Whatever determines wether a
> device is console needs a re-work. On sparc64 and macppc we just ask OF
> but I guess that's more complicated on sun4 :/

I hate to be a complete bonehead about this, but the splashscreen stuff
in i386 seems to make console messages ping-pong between my serial
console and the monitor if I only set up serial boot in /dev/ttys, too.

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte