* serial console autodetection not working on powermac
@ 2007-12-01 14:40 Olaf Hering
2007-12-02 1:11 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2007-12-01 14:40 UTC (permalink / raw)
To: linuxppc-dev
How is the serial console autodetection supposed to work with current
kernels? arch/powerpc/kernel/legacy_serial.c is not compiled unless
CONFIG_PPC_UDBG_16550 is selected.
Even if I force this config option, legacy_serial_console remains -1 and
the ch-a/ch-b check in check_legacy_serial_console() does not trigger.
Can the ch-a/ch-b check in check_legacy_serial_console() trigger anyway?
The autodetection used to work in earlier kernels.
A compiletime check for CONFIG_SERIAL_PMACZILOG_TTYS is also required,
to switch between ttyS and ttyPZ. Currently ttyS is hardcoded.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: serial console autodetection not working on powermac
2007-12-01 14:40 serial console autodetection not working on powermac Olaf Hering
@ 2007-12-02 1:11 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2007-12-02 1:11 UTC (permalink / raw)
To: Olaf Hering; +Cc: linuxppc-dev
On Sat, 2007-12-01 at 15:40 +0100, Olaf Hering wrote:
> How is the serial console autodetection supposed to work with current
> kernels? arch/powerpc/kernel/legacy_serial.c is not compiled unless
> CONFIG_PPC_UDBG_16550 is selected.
> Even if I force this config option, legacy_serial_console remains -1 and
> the ch-a/ch-b check in check_legacy_serial_console() does not trigger.
> Can the ch-a/ch-b check in check_legacy_serial_console() trigger anyway?
>
> The autodetection used to work in earlier kernels.
>
> A compiletime check for CONFIG_SERIAL_PMACZILOG_TTYS is also required,
> to switch between ttyS and ttyPZ. Currently ttyS is hardcoded.
It might well have bitrotted. It should be taken out of that file
anyway. I'll have a look next week. Remind me if I forget :-)
Ben.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-02 1:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-01 14:40 serial console autodetection not working on powermac Olaf Hering
2007-12-02 1:11 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).