# Antler/86 UART hardware defaults
#
# /etc/default/tty controls whether ttyS0 through ttyS3 are plain serial
# devices.  This file records the
# standard PC COM decode that sersys probes with the 8250/16450-compatible
# driver.  TYPE=auto means the driver detects 8250, 16450, 16550, 16550A, or
# 16750 hardware at boot.  A fixed TYPE keeps the driver on that behavior even
# when newer UART features appear during probing.
#
# XT-class multiport layouts normally share IRQ4 between COM1/COM3 and IRQ3
# between COM2/COM4.  sersys is the single owner and interrupt demultiplexer
# for all four UARTs.  COM1 is the 9600 8N1 login terminal.  The serial GEM
# mouse is a raw COM2 lease selected in /etc/default/gem-vdi, so pointersys
# receives mouse bytes without owning the UART or the shared IRQ3 line.  COM3
# and COM4 remain ordinary application serial ports.
#
# UART_ttyS*_FLOW accepts none or rtscts.  rtscts makes transmit wait for CTS
# when the remote adapter asserts hardware flow-control policy.
# Every COM port remains documented here and may be enabled independently by
# /etc/default/tty.  The selected mouse UART is reprogrammed to Microsoft
# mouse framing only for the duration of its authenticated raw lease.

UART_DRIVER_MODE=irq

UART_ttyS0_BASE=0x3f8
UART_ttyS0_IRQ=4
UART_ttyS0_TYPE=8250
UART_ttyS0_FLOW=none

UART_ttyS1_BASE=0x2f8
UART_ttyS1_IRQ=3
UART_ttyS1_TYPE=8250
UART_ttyS1_FLOW=none

UART_ttyS2_BASE=0x3e8
UART_ttyS2_IRQ=4
UART_ttyS2_TYPE=auto
UART_ttyS2_FLOW=none

UART_ttyS3_BASE=0x2e8
UART_ttyS3_IRQ=3
UART_ttyS3_TYPE=auto
UART_ttyS3_FLOW=none
