opnsense-src/sys/dev/uart
Justin Hibbits 09ef538713 uart: Add primitive noise filtering on RX
A long cable attached to the UART can act as an antenna if disconnected
from the other end.  This can cause noise on the receive side, possibly
as reflections from the transmit side, leading to an interrupt storm.
Filter this by adding a threshold of received characters without TX
ready, above which characters are dropped.  This is disabled by default,
but has been tested with a threshold of 1000+.  A high threshold is
recommended to avoid dropping characters during, for instance, a large
copy/paste from the other end.

Sponsored by:	Juniper Networks, Inc.
2024-11-27 09:17:09 -05:00
..
uart.h uart: Add a signal to compute rclk from baudrate 2024-10-14 16:03:58 -06:00
uart_bus.h dev/uart: name uart_class_set DATA_SET macro UART_CLASS() 2024-02-22 22:43:22 +00:00
uart_bus_acpi.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_bus_fdt.c uart: Honour clock-frequency in FDT for UART_FDT_CLASS if present 2024-05-15 16:53:33 +01:00
uart_bus_isa.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_bus_pci.c Add support for Intel Atom S1200 UART 2024-04-19 16:52:51 -06:00
uart_bus_puc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_bus_scc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_core.c uart: Go back to returning '0' when we've probed the device. 2024-10-15 04:59:29 -06:00
uart_cpu.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_cpu_acpi.c uart: Implement SPCR rev 3 and 4 for PreciseBaudrate and UartClkFreq 2024-10-15 05:00:11 -06:00
uart_cpu_acpi.h uart: Add uart_cpu_acpi_setup to setup the uart 2024-03-18 16:20:52 +00:00
uart_cpu_arm64.c uart: Add uart_cpu_acpi_setup to setup the uart 2024-03-18 16:20:52 +00:00
uart_cpu_fdt.c uart: Small style tweak 2024-10-11 15:27:46 -06:00
uart_cpu_fdt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_cpu_powerpc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_cpu_x86.c uart: Add uart_cpu_acpi_setup to setup the uart 2024-03-18 16:20:52 +00:00
uart_dbg.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_dev_imx.c clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
uart_dev_imx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_dev_lowrisc.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
uart_dev_lowrisc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_dev_msm.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
uart_dev_msm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_dev_mu.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uart_dev_mvebu.c sys: Simplify enabling EARLY_PRINTF uarts 2024-02-13 11:48:52 +00:00
uart_dev_ns8250.c uart: Add primitive noise filtering on RX 2024-11-27 09:17:09 -05:00
uart_dev_ns8250.h uart: Add primitive noise filtering on RX 2024-11-27 09:17:09 -05:00
uart_dev_pl011.c uart/pl011: Add support for computing rclk 2024-10-15 04:58:49 -06:00
uart_dev_quicc.c uart: Use device_set_descf() 2024-06-02 19:38:41 -04:00
uart_dev_snps.c uart_snps: Register a device xref for UARTs 2024-04-12 17:04:23 +00:00
uart_dev_ti8250.c uart(4): Honor hardware state of NS8250-class for tsw_busy 2024-01-14 08:03:59 +01:00
uart_dev_z8530.c uart: Use device_set_descf() 2024-06-02 19:38:41 -04:00
uart_if.m uart(4): Honor hardware state of NS8250-class for tsw_busy 2024-01-14 08:03:59 +01:00
uart_ppstypes.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uart_subr.c uart: uart_getenv: check for NULL class last, not first 2024-10-14 16:03:59 -06:00
uart_tty.c uart(4): Honor hardware state of NS8250-class for tsw_busy 2024-01-14 08:03:59 +01:00