]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: ensure add_inbuf can work for multiple ports as well
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 13:45:02 +0000 (19:15 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:37 +0000 (14:22 +1030)
commit7de982384299e4e6b69970ea9b3da1c557d045bf
tree4d79ffc7fb76b35d74a9198553ee7972c52c3ec7
parentd81801bc852d60a93736090a162270c92e4bcf70
virtio: console: ensure add_inbuf can work for multiple ports as well

add_inbuf() assumed one port and one inbuf per port. Remove that
assumption.

Also move the function so that put_chars and get_chars are together.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c