virtio: console: struct ports for multiple ports per device.
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 13:45:07 +0000 (19:15 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:43 +0000 (14:22 +1030)
commit1c85bf35449196e74deb487961d2f90c98f7b7ff
tree6bc3a6f9407271ff9d8cd4e6d8b5fd99b33e3689
parentd8a02bd58ab6da4495a2d1af74d980c217e9abcf
virtio: console: struct ports for multiple ports per device.

Rather than assume a single port, add a 'struct ports_device' which
stores data related to all the ports for that device.

Currently, there's only one port and is hooked up with hvc, but that
will change.

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