Various updates
The following is a copy of what's pending in my BK and CVS repositories, with the exception of the removal of serial_{21285,amba}.c in drivers/char (which would push the patch over 40K.)
My preferred route to get this to Linus is via a BK pull; this is for everyone else.
Documentation/serial/driver | 2 drivers/serial/core.c | 5 4 files changed, 5 insertions, 2513 deletions
ChangeSets:
<[email protected]> (02/07/26 1.444)
[SERIAL] Stop open() looping while opening a non-present port Trying to open a non-present port (for configuration) causes us to to endlessly loop (by returning -ERESTARTSYS). We should be returning success. This cset fixes this.
<[email protected]> (02/07/26 1.443)
[SERIAL] Fix buglet causing (eg) ttyS-14
Allocate positive instead of negative line numbers when 8250.c registers a new port with the core. This bug could cause registrations to erroneously fail, or oopsen when the pcmcia serial device is ejected.
<[email protected]> (02/07/25 1.442)
[SERIAL] Fix documentation bug for expected stop_tx interrupt state.
Documentation/serial/driver +1 -1
@@ -120,7 +120,7 @@ TTY stop to the driver (equiv to rs_stop). Locking: port->lock taken. - Interrupts: caller dependent. + Interrupts: locally disabled. This call must not sleep start_tx(port,tty_start)
drivers/serial/core.c +4 -1
@@ -1450,6 +1450,9 @@if (signal_pending (current))return -ERESTARTSYS ; +if (info->tty->flags & (1 <<TTY_IO_ERROR )) +return 0 ; +if (tty_hung_up_p (filp) || !(info->flags &UIF_INITIALIZED ))return (port->flags &UPF_HUP_NOTIFY ) ? -EAGAIN : -ERESTARTSYS ;
@@ -2425,7 +2428,7 @@ state->port->regshift = port->regshift; state->port->iotype = port->iotype; state->port->flags = port->flags; - state->port->line = drv->state - state; + state->port->line = state - drv->state;__uart_register_port (drv, state, state->port);
Signature · 2 lines
Russell King ([email protected]) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html