Subject: Re: wscons versus z8530tty
To: Julian Coleman <email@example.com>
From: Michael Lorenz <firstname.lastname@example.org>
Date: 02/08/2007 14:51:48
-----BEGIN PGP SIGNED MESSAGE-----
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
> Well, we call zstty_attach() and we've set the ZS_HWFLAG_CONSOLE_INPUT
> so it does assume that it's the console. I'd agree that there's a bug
> 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.
> 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 :/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----