提交 22b276a4 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

serdev: enable TTY port controller support by default

Amend the Serial device bus Kconfig entries to clarify that you most
likely also want to enable TTY port controller support, and make
SERIAL_DEV_CTRL_TTYPORT default to Y (when bus support is enabled).

Note that the TTY port controller is currently the only in-kernel
serdev controller implementation.
Signed-off-by: NJohan Hovold <johan@kernel.org>
Reviewed-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f7f73096
...@@ -6,11 +6,19 @@ menuconfig SERIAL_DEV_BUS ...@@ -6,11 +6,19 @@ menuconfig SERIAL_DEV_BUS
help help
Core support for devices connected via a serial port. Core support for devices connected via a serial port.
Note that you typically also want to enable TTY port controller support.
if SERIAL_DEV_BUS if SERIAL_DEV_BUS
config SERIAL_DEV_CTRL_TTYPORT config SERIAL_DEV_CTRL_TTYPORT
bool "Serial device TTY port controller" bool "Serial device TTY port controller"
help
Say Y here if you want to use the Serial device bus with common TTY
drivers (e.g. serial drivers).
If unsure, say Y.
depends on TTY depends on TTY
depends on SERIAL_DEV_BUS != m depends on SERIAL_DEV_BUS != m
default y
endif endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册