Re: [RFC PATCH v5 5/6] serial: core: Handle serial console options

From: Andy Shevchenko
Date: Mon Dec 18 2023 - 10:23:39 EST


On Mon, Dec 18, 2023 at 09:09:52AM +0200, Tony Lindgren wrote:
> In order to start moving the serial console quirks out of console_setup(),
> let's add parsing for the quirks to the serial core layer. We can use

> add_preferred_console_match() to handle the quirks.

While it's technically true, the code uses
serial_base_add_one_prefcon() wrapper.t grep

> Note that eventually we may want to set up driver specific console quirk
> handling for the serial port device drivers to use. But we need to figure
> out which driver(s) need to call the quirk. So for now, we just handle the
> sparc quirk directly.

--
With Best Regards,
Andy Shevchenko