Kconfig

CONFIG_SERIAL_8250 8250/16550 and compatible serial support

  • Off
  • Module
  • Built in

This selects whether you want to include the driver for the standard serial ports. The standard answer is Y. People who might say N here are those that are setting up dedicated Ethernet WWW/FTP servers, or users that have one of the various bus mice instead of a serial mouse and don't intend to use their machine's standard serial port for anything.

To compile this driver as a module, choose M here: the module will be called 8250. [WARNING: Do not compile this driver as a module if you are using non-standard serial ports, since the configuration information will be lost when the driver is unloaded. This limitation may be lifted in the future.]

BTW1: If you have a mouseman serial mouse which is not recognized by the X window system, try running gpm first.

BTW2: If you intend to use a software modem (also called Winmodem) under Linux, forget it. These modems are crippled and require proprietary drivers which are only available under Windows.

Most people will say Y or M here, so that they can use serial mice, modems and similar devices connecting to the standard serial ports.

If SERIAL_8250

CONFIG_SERIAL_8250_PNP 8250/16550 PNP device support

On

This builds standard PNP serial support. You may be able to disable this feature if you only need legacy serial support.

CONFIG_SERIAL_8250_16550A_VARIANTS Support for variants of the 16550A serial port

On

The 8250 driver can probe for many variants of the venerable 16550A serial port. Doing so takes additional time at boot.

On modern systems, especially those using serial only for a simple console, you can say N here.

CONFIG_SERIAL_8250_FINTEK Support for Fintek variants

On

Selecting this option will add support for the RS232 and RS485 capabilities of the Fintek F81216A LPC to 4 UART as well similar variants.

If this option is not selected the device will be configured as a standard 16550A serial port, however the device may not function correctly without this option enabled.

If unsure, say N.

CONFIG_SERIAL_8250_CONSOLE Console on 8250/16550 and compatible serial port

Unknown

If you say Y here, it will be possible to use a serial port as the system console (the system console is the device which receives all kernel messages and warnings and which allows logins in single user mode). This could be useful if some terminal or printer is connected to that serial port.

Even if you say Y here, the currently visible virtual console (/dev/tty0) will still be used as the system console by default, but you can alter that using a kernel command line option such as "console=ttyS1". (Try "man bootparam" or see the documentation of your boot loader (grub or lilo or loadlin) about how to pass options to the kernel at boot time.)

If you don't have a VGA card installed and you say Y here, the kernel will automatically use the first serial line, /dev/ttyS0, as system console.

You can set that using a kernel command line option such as "console=uart8250,io,0x3f8,9600n8" "console=uart8250,mmio,0xff5e0000,115200n8". and it will switch to normal serial console when the corresponding port is ready. "earlycon=uart8250,io,0x3f8,9600n8" "earlycon=uart8250,mmio,0xff5e0000,115200n8". it will not only setup early console.

If unsure, say N.

If SERIAL_8250

CONFIG_SERIAL_8250_PCI 8250/16550 PCI device support

  • Off
  • Module
  • Built in

This builds standard PCI serial support. You may be able to disable this feature if you only need legacy serial support. Saves about 9K. Note that serial ports on NetMos 9835 Multi-I/O cards are handled by the parport_serial driver, enabled with CONFIG_PARPORT_SERIAL.

CONFIG_SERIAL_8250_MOXA_PCIE 8250/16550 Moxa PCIe device support

  • Off
  • Module
  • Built in

Say Y here if you have a Moxa PCIe serial card.

To compile this driver as a module, choose M here: the module will be called 8250_mxpcie.

CONFIG_SERIAL_8250_CS 8250/16550 PCMCIA device support

  • Off
  • Module
  • Built in

Say Y here to enable support for 16-bit PCMCIA serial devices, including serial port cards, modems, and the modem functions of multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are credit-card size devices often used with laptops.)

To compile this driver as a module, choose M here: the module will be called serial_cs.

If unsure, say N.

CONFIG_SERIAL_8250_MEN_MCB MEN MCB UART device support

  • Off
  • Module
  • Built in

This enables support for FPGA based UARTs found on many MEN boards. This driver enables support for the 16z025, 16z057 and 16z125 UARTs.

To compile this driver as a module, chose M here: the module will be called 8250_men_mcb.

CONFIG_SERIAL_8250_NR_UARTS Maximum number of 8250/16550 serial ports

Set this to the number of serial ports you want the driver to support. This includes any ports discovered via ACPI or PCI enumeration and any ports that may be added at run-time via hot-plug, or any ISA multi-port serial cards.

CONFIG_SERIAL_8250_EXTENDED Extended 8250/16550 serial driver options

On

If you wish to use any non-standard features of the standard "dumb" driver, say Y here. This includes HUB6 support, shared serial interrupts, special multiport support, support for more than the four COM 1/2/3/4 boards, etc.

Note that the answer to this question won't directly affect the kernel: saying N will just cause the configurator to skip all the questions about serial driver options. If unsure, say N.

If SERIAL_8250_EXTENDED

CONFIG_SERIAL_8250_SHARE_IRQ Support for sharing serial interrupts

On

Some serial boards have hardware support which allows multiple dumb serial ports on the same board to share a single IRQ. To enable support for this in the serial driver, say Y here.

CONFIG_SERIAL_8250_DETECT_IRQ Autodetect IRQ on standard ports (unsafe)

On

Say Y here if you want the kernel to try to guess which IRQ to use for your serial port.

This is considered unsafe; it is far better to configure the IRQ in a boot script using the setserial command.

If unsure, say N.

CONFIG_SERIAL_8250_RSA Support RSA serial ports

On

Say Y here if you have a IODATA RSA-DV II/S ISA card and would like to use its >115kbps speeds. You will need to provide module parameter "probe_rsa", or boot-time parameter 8250.probe_rsa with I/O addresses of this card then.

If you don't have such card, or if unsure, say N.

CONFIG_SERIAL_8250_MANY_PORTS Support more than 4 legacy serial ports

On

Say Y here if you have dumb serial boards other than the four standard COM 1/2/3/4 ports. This may happen if you have an AST FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available from <https://www.tldp.org/docs.html#howto>), or other custom serial port hardware which acts similar to standard serial port hardware. If you only use the standard COM 1/2/3/4 ports, you can say N here to save some memory. You can also say Y if you have an "intelligent" multiport card such as Digiboards, etc.

If SERIAL_8250_MANY_PORTS

CONFIG_SERIAL_8250_FOURPORT Support Fourport cards

  • Off
  • Module
  • Built in
Unknown

Say Y here if you have an AST FourPort serial board.

To compile this driver as a module, choose M here: the module will be called 8250_fourport.

CONFIG_SERIAL_8250_ACCENT Support Accent cards

  • Off
  • Module
  • Built in
Unknown

Say Y here if you have an Accent Async serial board.

To compile this driver as a module, choose M here: the module will be called 8250_accent.

CONFIG_SERIAL_8250_EXAR_ST16C554 Support Exar ST16C554/554D Quad UART

  • Off
  • Module
  • Built in
Unknown

The Uplogix Envoy TU301 uses this Exar Quad UART. If you are tinkering with your Envoy TU301, or have a machine with this UART, say Y here.

To compile this driver as a module, choose M here: the module will be called 8250_exar_st16c554.

CONFIG_SERIAL_8250_HUB6 Support Hub6 cards

Unknown

Say Y here if you have a HUB6 serial board.

To compile this driver as a module, choose M here: the module will be called 8250_hub6.

CONFIG_SERIAL_8250_PCI1XXXX Microchip 8250 based serial port

  • Off
  • Module
  • Built in

Select this option if you have a setup with Microchip PCIe Switch with serial port enabled and wish to enable 8250 serial driver for the serial interface. This driver support will ensure to support baud rates upto 1.5Mpbs.

If SERIAL_8250

CONFIG_SERIAL_8250_ACORN Acorn expansion card serial port support

  • Off
  • Module
  • Built in
Unknown

If you have an Atomwide Serial card or Serial Port card for an Acorn system, say Y to this option. The driver can handle 1, 2, or 3 port cards. If unsure, say N.

CONFIG_SERIAL_8250_AIROHA Airoha UART support

  • Off
  • Module
  • Built in

Selecting this option enables an Airoha SoC specific baud rate calculation routine on an otherwise 16550 compatible UART hardware.

If you have an Airoha based board and want to use the serial port, say Y to this option. If unsure, say N.

CONFIG_SERIAL_8250_BCM2835AUX BCM2835 auxiliar mini UART support

  • Off
  • Module
  • Built in

Support for the BCM2835 auxiliar mini UART.

Features and limitations of the UART are
  Registers are similar to 16650 registers,
    set bits in the control registers that are unsupported
    are ignored and read back as 0
  7/8 bit operation with 1 start and 1 stop bit
  8 symbols deep fifo for rx and tx
  SW controlled RTS and SW readable CTS
  Clock rate derived from system clock
  Uses 8 times oversampling (compared to 16 times for 16650)
  Missing break detection (but break generation)
  Missing framing error detection
  Missing parity bit
  Missing receive time-out interrupt
  Missing DCD, DSR, DTR and RI signals

If unsure, say N.

If SERIAL_8250

CONFIG_SERIAL_8250_FSL Freescale 16550 UART support

  • Off
  • Module
  • Built in

Selecting this option enables a workaround for a break-detection erratum for Freescale 16550 UARTs in the 8250 driver. It also enables support for ACPI enumeration.

CONFIG_SERIAL_8250_DFL DFL bus driver for Altera 16550 UART

  • Off
  • Module
  • Built in

This option enables support for a Device Feature List (DFL) bus driver for the Altera 16550 UART. One or more Altera 16550 UARTs can be instantiated in a FPGA and then be discovered during enumeration of the DFL bus.

To compile this driver as a module, chose M here: the module will be called 8250_dfl.

CONFIG_SERIAL_8250_EM Support for Emma Mobile integrated serial port

  • Off
  • Module
  • Built in

Selecting this option will add support for the integrated serial port hardware found on the Emma Mobile line of processors. If unsure, say N.

CONFIG_SERIAL_8250_IOC3 SGI IOC3 8250 UART support

  • Off
  • Module
  • Built in

Enable this if you have a SGI Origin or Octane machine. This module provides basic serial support by directly driving the UART chip behind the IOC3 device on those systems. Maximum baud speed is 38400bps using this driver.

If SERIAL_8250

CONFIG_SERIAL_8250_KEBA Support for KEBA 8250 UART

  • Off
  • Module
  • Built in

Selecting this option will add support for KEBA UARTs. These UARTs are used for the serial interfaces of KEBA PLCs.

This driver can also be built as a module. If so, the module will be called 8250_keba.

If unsure, say N.

CONFIG_SERIAL_8250_OMAP Support for OMAP internal UART (8250 based driver)

  • Off
  • Module
  • Built in

If you have a machine based on an Texas Instruments OMAP CPU you can enable its onboard serial ports by enabling this option.

This driver uses ttyS instead of ttyO.

CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP Replace ttyO with ttyS

Unknown

This option replaces the "console=ttyO" argument with the matching ttyS argument if the user did not specified it on the command line. This ensures that the user can see the kernel output during boot which he wouldn't see otherwise. The getty has still to be configured for ttyS instead of ttyO regardless of this option. This option is intended for people who "automatically" enable this driver without knowing that this driver requires a different console= argument. If you read this, please keep this option disabled and instead update your kernel command line. If you prepare a kernel for a distribution or other kind of larger user base then you probably want to keep this option enabled. Otherwise people might complain about a not booting kernel because the serial console remains silent in case they forgot to update the command line.

CONFIG_SERIAL_8250_LOONGSON Loongson 8250 based serial port

  • Off
  • Module
  • Built in

If you have a machine based on LoongArch CPU or MIPS-based Loongson 3A4000 CPU you can enable its onboard serial ports by enabling this option. The option is applicable to both devicetree and ACPI, say Y to enable this option. If unsure, say N.

CONFIG_SERIAL_8250_MT6577 Mediatek serial port support

  • Off
  • Module
  • Built in

If you have a Mediatek based board and want to use the serial port, say Y to this option. If unsure, say N.

CONFIG_SERIAL_8250_UNIPHIER Support for UniPhier on-chip UART

  • Off
  • Module
  • Built in

If you have a UniPhier based board and want to use the on-chip serial ports, say Y to this option. If unsure, say N.

CONFIG_SERIAL_8250_INGENIC Support for Ingenic SoC serial ports

  • Off
  • Module
  • Built in

If you have a system using an Ingenic SoC and wish to make use of its UARTs, say Y to this option. If unsure, say N.

CONFIG_SERIAL_8250_LPSS Support for serial ports on Intel LPSS platforms

  • Off
  • Module
  • Built in
Selecting this option will enable handling of the UART found on
various Intel platforms such as:
  - Intel Baytrail SoC
  - Intel Braswell SoC
  - Intel Quark X1000 SoC
that are not covered by the more generic SERIAL_8250_PCI option.

CONFIG_SERIAL_8250_MID Support for serial ports on Intel MID platforms

  • Off
  • Module
  • Built in

Selecting this option will enable handling of the UART found on Intel Medfield SOC and various other Intel platforms that is not covered by the more generic SERIAL_8250_PCI option.

If SERIAL_8250

CONFIG_SERIAL_8250_PERICOM Support for Pericom and Acces I/O serial ports

  • Off
  • Module
  • Built in

Selecting this option will enable handling of the Pericom and Acces I/O UARTs that are not covered by the more generic SERIAL_8250_PCI option.

CONFIG_SERIAL_8250_PXA PXA serial port support

  • Off
  • Module
  • Built in

If you have a machine based on an Intel XScale PXA2xx CPU you can enable its onboard serial ports by enabling this option. The option is applicable to both devicetree and legacy boards, and early console is part of its support.

CONFIG_SERIAL_8250_BCM7271 Broadcom 8250 based serial port

  • Off
  • Module
  • Built in

If you have a Broadcom STB based board and want to use the enhanced features of the Broadcom 8250 based serial port, including DMA support and high accuracy BAUD rates, say Y to this option. If unsure, say N.

CONFIG_SERIAL_8250_NI NI 16550 based serial port

  • Off
  • Module
  • Built in

This driver supports the integrated serial ports on National Instruments (NI) controller hardware. This is required for all NI controller models with onboard RS-485 or dual-mode RS-485/RS-232 ports.

To compile this driver as a module, choose M here: the module will be called 8250_ni.

If SERIAL_8250

CONFIG_SERIAL_OF_PLATFORM Devicetree based probing for 8250 ports

  • Off
  • Module
  • Built in

This option is used for all 8250 compatible serial ports that are probed through devicetree, including Open Firmware based PowerPC systems and embedded systems on architectures using the flattened device tree format.

CONFIG_MACH_LOONGSON64 declarations