]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb53eca9d1309d5cd37539f9b9fdab14d94e08a94
tree6bc3a6f9407271ff9d8cd4e6d8b5fd99b33e3689
parentae7bb9c847869c88bba492a1c44c8b82a96cb661
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