Re: [PATCH 09/28] virtio: console: struct ports for multiple ports per device.

2009-11-29 Thread Amit Shah
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

Re: [PATCH 09/28] virtio: console: struct ports for multiple ports per device.

2009-11-29 Thread Rusty Russell
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

[PATCH 09/28] virtio: console: struct ports for multiple ports per device.

2009-11-27 Thread Amit Shah
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 +++--