ANDROID: Add more hvc devices for virtio-console.

This allows creating more TTY devices bound to virtio-console devices.

Bug: 170149708
Test: ls /dev/hvc* on a cuttlefish device
Change-Id: Id07c25bded35dac5d17736731bfd8b8f4f1d463b
Signed-off-by: A. Cody Schuffelen <schuffelen@google.com>
This commit is contained in:
A. Cody Schuffelen 2020-10-06 16:26:27 -07:00 committed by Alistair Delva
parent 7b7c361b98
commit a69a8cd3c5

View File

@ -30,7 +30,7 @@
* for the tty device. Since this driver supports hotplug of vty adapters we
* need to make sure we have enough allocated.
*/
#define HVC_ALLOC_TTY_ADAPTERS 8
#define HVC_ALLOC_TTY_ADAPTERS 64
struct hvc_struct {
struct tty_port port;