Skip to content

Commit

Permalink
ANDROID: Add more hvc devices for virtio-console.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
  • Loading branch information
Databean authored and itsshashanksp committed Feb 10, 2023
1 parent e2ae0e8 commit 301c43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/hvc/hvc_console.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,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;
Expand Down

0 comments on commit 301c43d

Please sign in to comment.