projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[libata] SCSI VPD page 0x83 fixes
[powerpc.git]
/
drivers
/
serial
/
8250.c
diff --git
a/drivers/serial/8250.c
b/drivers/serial/8250.c
index
b1fc97d
..
7aca22c
100644
(file)
--- a/
drivers/serial/8250.c
+++ b/
drivers/serial/8250.c
@@
-2198,7
+2198,7
@@
serial8250_console_write(struct console *co, const char *s, unsigned int count)
touch_nmi_watchdog();
/*
touch_nmi_watchdog();
/*
- * First save the
U
ER then disable the interrupts
+ * First save the
I
ER then disable the interrupts
*/
ier = serial_in(up, UART_IER);
*/
ier = serial_in(up, UART_IER);
@@
-2326,6
+2326,12
@@
static struct uart_driver serial8250_reg = {
.cons = SERIAL8250_CONSOLE,
};
.cons = SERIAL8250_CONSOLE,
};
+/*
+ * early_serial_setup - early registration for 8250 ports
+ *
+ * Setup an 8250 port structure prior to console initialisation. Use
+ * after console initialisation will cause undefined behaviour.
+ */
int __init early_serial_setup(struct uart_port *port)
{
if (port->line >= ARRAY_SIZE(serial8250_ports))
int __init early_serial_setup(struct uart_port *port)
{
if (port->line >= ARRAY_SIZE(serial8250_ports))