diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-04 21:39:31 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-04 21:39:31 -0500 |
commit | c2cc87ca9561ddfe744d446789cc10f507e87db9 (patch) | |
tree | d505fc0110eb1a3d8750ba2f67648c131f0d9aca /drivers/serial/serial_core.c | |
parent | ce1eeb95fc4eb25109c00bea3e83a87eeff6b07d (diff) | |
parent | 7015faa7df829876a0f931cd18aa6d7c24a1b581 (diff) |
Merge branch 'master'
Diffstat (limited to 'drivers/serial/serial_core.c')
-rw-r--r-- | drivers/serial/serial_core.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c index 2d8622eef701..0745ce782974 100644 --- a/drivers/serial/serial_core.c +++ b/drivers/serial/serial_core.c | |||
@@ -147,8 +147,7 @@ static int uart_startup(struct uart_state *state, int init_hw) | |||
147 | * once we have successfully opened the port. Also set | 147 | * once we have successfully opened the port. Also set |
148 | * up the tty->alt_speed kludge | 148 | * up the tty->alt_speed kludge |
149 | */ | 149 | */ |
150 | if (info->tty) | 150 | set_bit(TTY_IO_ERROR, &info->tty->flags); |
151 | set_bit(TTY_IO_ERROR, &info->tty->flags); | ||
152 | 151 | ||
153 | if (port->type == PORT_UNKNOWN) | 152 | if (port->type == PORT_UNKNOWN) |
154 | return 0; | 153 | return 0; |
@@ -1968,7 +1967,9 @@ uart_report_port(struct uart_driver *drv, struct uart_port *port) | |||
1968 | break; | 1967 | break; |
1969 | } | 1968 | } |
1970 | 1969 | ||
1971 | printk(KERN_INFO "%s%d at %s (irq = %d) is a %s\n", | 1970 | printk(KERN_INFO "%s%s%s%d at %s (irq = %d) is a %s\n", |
1971 | port->dev ? port->dev->bus_id : "", | ||
1972 | port->dev ? ": " : "", | ||
1972 | drv->dev_name, port->line, address, port->irq, uart_type(port)); | 1973 | drv->dev_name, port->line, address, port->irq, uart_type(port)); |
1973 | } | 1974 | } |
1974 | 1975 | ||