virtio: console: Introduce a send_buf function for a common path for sending data...
authorAmit Shah <amit.shah@redhat.com>
Mon, 21 Dec 2009 11:58:51 +0000 (17:28 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:51 +0000 (14:22 +1030)
commit2d240121f9af718dcf336e02d9e37a520808650b
treeaedb212484ca3ff86ec5eb9c141a70e64df96f59
parent29cb6b125cc0d0114bfe9b7d77fd5d9ed9f25639
virtio: console: Introduce a send_buf function for a common path for sending data to host

Adding support for generic ports that will write to userspace will need
some code changes.

Consolidate the write routine into send_buf() and put_chars() now just
calls into the new function.

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