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>
(cherry picked from commit a69a8cd3c5)
This commit is contained in:
A. Cody Schuffelen 2020-10-06 16:26:27 -07:00 committed by Betty Zhou
parent 92a0ce5d0a
commit e1d491fcbf

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;