The patch titled serial: serial_txx9 driver update (fix) has been added to the -mm tree. Its filename is serial-serial_txx9-driver-update-fix.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: serial: serial_txx9 driver update (fix) From: Atsushi Nemoto <anemo@xxxxxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Russell King <rmk@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/serial/serial_txx9.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff -puN drivers/serial/serial_txx9.c~serial-serial_txx9-driver-update-fix drivers/serial/serial_txx9.c --- a/drivers/serial/serial_txx9.c~serial-serial_txx9-driver-update-fix +++ a/drivers/serial/serial_txx9.c @@ -277,16 +277,15 @@ static void serial_txx9_enable_ms(struct static void serial_txx9_initialize(struct uart_port *port) { struct uart_txx9_port *up = (struct uart_txx9_port *)port; + unsigned int tmout = 10000; sio_out(up, TXX9_SIFCR, TXX9_SIFCR_SWRST); -#ifdef CONFIG_CPU_TX49XX /* TX4925 BUG WORKAROUND. Accessing SIOC register * immediately after soft reset causes bus error. */ - iob(); + mmiowb(); udelay(1); -#endif - while (sio_in(up, TXX9_SIFCR) & TXX9_SIFCR_SWRST) - ; + while ((sio_in(up, TXX9_SIFCR) & TXX9_SIFCR_SWRST) && --tmout) + udelay(1); /* TX Int by FIFO Empty, RX Int by Receiving 1 char. */ sio_set(up, TXX9_SIFCR, TXX9_SIFCR_TDIL_MAX | TXX9_SIFCR_RDIL_1); _ Patches currently in -mm which might be from anemo@xxxxxxxxxxxxx are git-mips.patch serial-serial_txx9-driver-update.patch serial-serial_txx9-driver-update-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html