Index: ChangeLog =================================================================== RCS file: /usr/src/CVS/speakup/ChangeLog,v retrieving revision 1.18 diff -u -B -p -r1.18 ChangeLog --- ChangeLog 30 Dec 2005 00:59:34 -0000 1.18 +++ ChangeLog 20 Mar 2006 16:08:14 -0000 @@ -1,3 +1,7 @@ +2006-03-20 Monday 16:16 daniel + + Update for the tty/ldisc fixes in 2.6.16 + 2005-12-29 Friday 00:56 daniel Remove the MIPS Kconfig patch, since it sources drivers/Kconfig. We are Index: speakup.c =================================================================== RCS file: /usr/src/CVS/speakup/speakup.c,v retrieving revision 1.175 diff -u -B -p -r1.175 speakup.c --- speakup.c 27 Jan 2006 15:32:34 -0000 1.175 +++ speakup.c 20 Mar 2006 16:08:15 -0000 @@ -486,7 +486,7 @@ speakup_paste_selection(struct tty_struc continue; } count = sel_buffer_lth - pasted; - count = MIN(count, tty->ldisc.receive_room(tty)); + count = MIN(count, tty->receive_room); tty->ldisc.receive_buf(tty, sel_buffer + pasted, 0, count); pasted += count; }