diff options
author | David S. Miller <davem@davemloft.net> | 2009-11-24 23:03:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-24 23:03:34 +0100 |
commit | 4e3533d05b6e5e66d1cda27f6671251c99c62894 (patch) | |
tree | 0eed98a48ff54e7fbdeb51227ed95f1b4774e056 /drivers/serial/sunsu.c | |
parent | sunsu: Fix detection of SU ports which are RSC console or control. (diff) | |
download | linux-4e3533d05b6e5e66d1cda27f6671251c99c62894.tar.xz linux-4e3533d05b6e5e66d1cda27f6671251c99c62894.zip |
serial: suncore: Add 'ignore_line' argument to sunserial_console_match().
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>
Diffstat (limited to 'drivers/serial/sunsu.c')
-rw-r--r-- | drivers/serial/sunsu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/sunsu.c b/drivers/serial/sunsu.c index f6511a44d15b..4868b318e55e 100644 --- a/drivers/serial/sunsu.c +++ b/drivers/serial/sunsu.c @@ -1468,7 +1468,8 @@ static int __devinit su_probe(struct of_device *op, const struct of_device_id *m up->port.ops = &sunsu_pops; sunserial_console_match(SUNSU_CONSOLE(), dp, - &sunsu_reg, up->port.line); + &sunsu_reg, up->port.line, + false); err = uart_add_one_port(&sunsu_reg, &up->port); if (err) goto out_unmap; |