2019-04-02 22:07:07 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2017-02-03 03:48:07 +08:00
|
|
|
#
|
|
|
|
# Serial bus device driver configuration
|
|
|
|
#
|
|
|
|
menuconfig SERIAL_DEV_BUS
|
|
|
|
tristate "Serial device bus"
|
|
|
|
help
|
|
|
|
Core support for devices connected via a serial port.
|
|
|
|
|
2017-10-09 17:41:33 +08:00
|
|
|
Note that you typically also want to enable TTY port controller support.
|
|
|
|
|
2017-02-03 03:48:08 +08:00
|
|
|
if SERIAL_DEV_BUS
|
|
|
|
|
|
|
|
config SERIAL_DEV_CTRL_TTYPORT
|
|
|
|
bool "Serial device TTY port controller"
|
2017-10-09 17:41:33 +08:00
|
|
|
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.
|
2017-02-03 03:48:08 +08:00
|
|
|
depends on TTY
|
|
|
|
depends on SERIAL_DEV_BUS != m
|
2017-10-09 17:41:33 +08:00
|
|
|
default y
|
2017-02-03 03:48:08 +08:00
|
|
|
|
|
|
|
endif
|