lkml.org 
[lkml]   [2015]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 -next 03/13] console: Add extensible console matching
On Sun, Mar 01, 2015 at 11:05:48AM -0500, Peter Hurley wrote:
> Add match() method to struct console which allows the console to
> perform console command line matching instead of (or in addition to)
> default console matching (ie., by fixed name and index).
>
> The match() method returns 0 to indicate a successful match; normal
> console matching occurs if no match() method is defined or the
> match() method returns non-zero. The match() method is expected to set
> the console index if required.
>
> Re-implement earlycon-to-console-handoff with direct matching of
> "console=uart|uart8250,..." to the 8250 ttyS console.
>
> Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
> ---
> drivers/tty/serial/8250/8250_core.c | 64 +++++++++++++++++++++++++++---------
> drivers/tty/serial/8250/8250_early.c | 23 -------------
> include/linux/console.h | 3 +-
> include/linux/serial_8250.h | 2 --
> kernel/printk/printk.c | 52 ++++++++++-------------------
> 5 files changed, 67 insertions(+), 77 deletions(-)

This didn't apply, so I've stopped here.

thanks,

greg k-h


\
 
 \ /
  Last update: 2015-03-07 14:01    [W:0.130 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site