rpms/kernel/devel linux-2.6.15-cell-bogus-console-fix.patch, 1.1, 1.2
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Nov 21 21:01:06 UTC 2005
Author: dwmw2
Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv9096
Added Files:
linux-2.6.15-cell-bogus-console-fix.patch
Log Message:
cvs hates me
linux-2.6.15-cell-bogus-console-fix.patch:
bogus_console.c | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
Index: linux-2.6.15-cell-bogus-console-fix.patch
===================================================================
RCS file: linux-2.6.15-cell-bogus-console-fix.patch
diff -N linux-2.6.15-cell-bogus-console-fix.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ linux-2.6.15-cell-bogus-console-fix.patch 21 Nov 2005 21:00:50 -0000 1.2
@@ -0,0 +1,32 @@
+--- linux/drivers/char/bogus_console.c~ 2005-11-15 23:48:15.000000000 +0000
++++ linux/drivers/char/bogus_console.c 2005-11-21 14:01:35.000000000 +0000
+@@ -113,12 +113,6 @@ bog_tty_close (struct tty_struct *tty, s
+ }
+
+ static int
+-bog_tty_write (struct tty_struct *tty, const unsigned char *buf, int count)
+-{
+- return 0;
+-}
+-
+-static int
+ bog_tty_write_room (struct tty_struct *tty)
+ {
+ return BOG_TTY_BUF_SIZE;
+@@ -156,6 +150,16 @@ bog_tty_flush_chars (struct tty_struct *
+ }
+
+ static int
++bog_tty_write (struct tty_struct *tty, const unsigned char *buf, int count)
++{
++ int i;
++ for (i=0; i<count; i++)
++ bog_tty_put_char(tty, buf[i]);
++ bog_tty_flush_chars(tty);
++ return count;
++}
++
++static int
+ bog_tty_chars_in_buffer (struct tty_struct *tty)
+ {
+ return 0;
More information about the fedora-cvs-commits
mailing list