OSDN Git Service

misc: bcm-vk: add ttyVK support
authorScott Branden <scott.branden@broadcom.com>
Wed, 20 Jan 2021 17:58:27 +0000 (09:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2021 17:44:45 +0000 (18:44 +0100)
commit91ca10d6fa0720e35596c720e494d9c18624418a
tree15b736d239a23a46b00937a27138b6efad114520
parent68f1fae62c37ff739c38ac812165cbbab85b65d4
misc: bcm-vk: add ttyVK support

Add ttyVK support to driver to allow console access to VK card from host.

Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where:
x is the instance of the VK card
y is the tty device number on the VK card

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Link: https://lore.kernel.org/r/20210120175827.14820-14-scott.branden@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bcm-vk/Makefile
drivers/misc/bcm-vk/bcm_vk.h
drivers/misc/bcm-vk/bcm_vk_dev.c
drivers/misc/bcm-vk/bcm_vk_tty.c [new file with mode: 0644]