virtio: console: Resize console port 0 on config intr only if multiport is off
authorAmit Shah <amit.shah@redhat.com>
Wed, 5 May 2010 20:35:07 +0000 (02:05 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 19 May 2010 12:45:50 +0000 (22:15 +0930)
commit4038f5b767a610c5a5d92d7047755c663ead1568
tree6ddc8d34e69dd311305d66ebaba9a2dde5d64364
parentcdfadfc1adb87fc7e8a631b1f299715feacbde90
virtio: console: Resize console port 0 on config intr only if multiport is off

When using multiport, we'll use control messages. Ensure we don't
accidentally update port 0 size on config interrupts.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
CC: Christian Borntraeger <borntraeger@de.ibm.com>
CC: linuxppc-dev@ozlabs.org
CC: Kusanagi Kouichi <slash@ac.auone-net.jp>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c