On (Mon) Nov 30 2009 [12:39:52], Rusty Russell wrote:
> On Sat, 28 Nov 2009 05:20:32 pm Amit Shah wrote:
> > @@ -196,7 +216,9 @@ static void virtcons_apply_config(struct virtio_device
> > *dev)
> > dev->config->get(dev,
> > offsetof(struct virtio_console_co
On Sat, 28 Nov 2009 05:20:32 pm Amit Shah wrote:
> @@ -196,7 +216,9 @@ static void virtcons_apply_config(struct virtio_device
> *dev)
> dev->config->get(dev,
>offsetof(struct virtio_console_config, rows),
>&ws.ws_row, si
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
---
drivers/char/virtio_console.c | 154 +++--