aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/suncore.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-11-24 14:09:56 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-24 14:09:56 -0800
commit457931de3b0925dc2eb941bc7d611a509be36dff (patch)
tree64e30c8b02e02b2004dcc9757545db437b2eff71 /drivers/serial/suncore.h
parentserial: suncore: Add 'ignore_line' argument to sunserial_console_match(). (diff)
downloadlinux-dev-457931de3b0925dc2eb941bc7d611a509be36dff.tar.xz
linux-dev-457931de3b0925dc2eb941bc7d611a509be36dff.zip
serial: suncore: Fix RSC/LOM handling in sunserial_console_termios().
RSC and LOM devices have fixed speed settings. We already had some code to match and handle "rsc" named devices on E250 systems, but we also have to handle 'rsc-console', 'rsc-control', and 'lom-console'. Also, in order to get this right regardless of what 'output-device' happens to be, explicitly pass the UART device node pointer to this routine. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/serial/suncore.h')
-rw-r--r--drivers/serial/suncore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/suncore.h b/drivers/serial/suncore.h
index cab95b3fbddc..db2057936c31 100644
--- a/drivers/serial/suncore.h
+++ b/drivers/serial/suncore.h
@@ -27,6 +27,7 @@ extern void sunserial_unregister_minors(struct uart_driver *, int);
extern int sunserial_console_match(struct console *, struct device_node *,
struct uart_driver *, int, bool);
-extern void sunserial_console_termios(struct console *);
+extern void sunserial_console_termios(struct console *,
+ struct device_node *);
#endif /* !(_SERIAL_SUN_H) */