serial: suncore: Add 'ignore_line' argument to sunserial_console_match().
commitb4570691ba0d353bd98f5314685a7d9aa1e4b2db
authorDavid S. Miller <davem@davemloft.net>
Tue, 24 Nov 2009 22:03:34 +0000 (24 14:03 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 21:44:00 +0000 (18 13:44 -0800)
tree264a38a7b8aa1ee99800796dbfcf31d9ab118d9e
parent93e2a9c73973b7f01cb56b33db8c9ac7bf35cfa7
serial: suncore: Add 'ignore_line' argument to sunserial_console_match().

[ Upstream commit 4e3533d05b6e5e66d1cda27f6671251c99c62894 ]

This tells the logic to ignore the line match when deciding whether the
device is the OpenFirmware specified console device or not.

This is going to be used in the SU driver for rsc-console detection.

There is probably a better way to handle this, but this is the least
intrusive solution for now which we can validate won't break any other
cases.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/suncore.c
drivers/serial/suncore.h
drivers/serial/sunsab.c
drivers/serial/sunsu.c
drivers/serial/sunzilog.c