Kconfig 568 B

12345678910111213141516171819202122232425
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Serial bus device driver configuration
  4. #
  5. menuconfig SERIAL_DEV_BUS
  6. tristate "Serial device bus"
  7. help
  8. Core support for devices connected via a serial port.
  9. Note that you typically also want to enable TTY port controller support.
  10. if SERIAL_DEV_BUS
  11. config SERIAL_DEV_CTRL_TTYPORT
  12. bool "Serial device TTY port controller"
  13. help
  14. Say Y here if you want to use the Serial device bus with common TTY
  15. drivers (e.g. serial drivers).
  16. If unsure, say Y.
  17. depends on TTY
  18. depends on SERIAL_DEV_BUS != m
  19. default y
  20. endif