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)
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>

No differences found