[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Veuo9L8Y7=9XKCeFHzhtNK9x4pQ19kcMoAkL-0mFPq1Hg@mail.gmail.com>
Date: Wed, 5 Mar 2025 21:18:39 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: adamsimonelli@...il.com
Cc: linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
Jiri Slaby <jirislaby@...nel.org>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Steven Rostedt <rostedt@...dmis.org>, John Ogness <john.ogness@...utronix.de>,
Sergey Senozhatsky <senozhatsky@...omium.org>, Petr Mladek <pmladek@...e.com>
Subject: Re: [PATCH v7 2/3] ttynull: Add an option to allow ttynull to be used
as a console device
On Wed, Mar 5, 2025 at 6:30 AM <adamsimonelli@...il.com> wrote:
>
> From: Adam Simonelli <adamsimonelli@...il.com>
>
> The new config option, CONFIG_NULL_TTY_DEFAULT_ CONSOLE will allow
> ttynull to be initialized by console_initcall() and selected as a
> possible console device.
...
> In order to use this driver, you should redirect the console to this
> - TTY, or boot the kernel with console=ttynull.
> + TTY, boot the kernel with console=ttynull, or enable
> + CONFIG_NULL_TTY_DEFAULT_CONSOLE.
I haven't checked what it looks like in menuconfig / nconfig / etc,
but I think that CONFIG_ is redundant here.
> + If unsure, say N.
> +
> +config NULL_TTY_DEFAULT_CONSOLE
> + bool "Support for console on ttynull"
> + depends on NULL_TTY=y && !VT_CONSOLE
> + help
> + Say Y here if you want the NULL TTY to be used as a /dev/console
> + device.
> +
> + This is similar to CONFIG_VT_CONSOLE, but without the dependency on
> + CONFIG_VT. It uses the ttynull driver as the system console.
Btw, do those `make nconfig` and friends render the options?
> If unsure, say N.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists