[PATCH] Fix some ucLinux breakage from the tty updates

Breakage reported by Adrian Bunk

Untested (no hardware)

Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Alan Cox 2006-02-03 03:04:08 -08:00 • committed by Linus Torvalds
commit 8145916996
3 changed files with 12 additions and 20 deletions

View file

@ -128,9 +128,7 @@ static void rs_poll(unsigned long priv)
while (__simc(SYS_select_one, 0, XTISS_SELECT_ONE_READ, (int)&tv,0,0)){
__simc (SYS_read, 0, (unsigned long)&c, 1, 0, 0);
tty->flip.count++;
*tty->flip.char_buf_ptr++ = c;
*tty->flip.flag_buf_ptr++ = TTY_NORMAL;
tty_insert_flip_char(tty, c, TTY_NORMAL);
i++;
}