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:
parent
92a0ce5d0a
commit
e1d491fcbf
@ -30,7 +30,7 @@
|
|||||||
* for the tty device. Since this driver supports hotplug of vty adapters we
|
* for the tty device. Since this driver supports hotplug of vty adapters we
|
||||||
* need to make sure we have enough allocated.
|
* need to make sure we have enough allocated.
|
||||||
*/
|
*/
|
||||||
#define HVC_ALLOC_TTY_ADAPTERS 8
|
#define HVC_ALLOC_TTY_ADAPTERS 64
|
||||||
|
|
||||||
struct hvc_struct {
|
struct hvc_struct {
|
||||||
struct tty_port port;
|
struct tty_port port;
|
||||||
|
Loading…
Reference in New Issue
Block a user