Site map  

Linux kernel with DCF77 Patch

This is a Debian 12 / Bookworm linux-image-6.1.0-54-amd64 with the following patch;

--- 8250_port.c.orig	2026-10-15 14:15:52.000000000 +0200
+++ 8250_port.c	2026-11-11 09:00:35.850614579 +0100
@@ -1937,7 +1937,8 @@
 	 * Recover from no-data-ready and FIFO error condition to avoid getting
 	 * stuck in the ISR.
 	 */
-	if (!(status & UART_LSR_DR) && (status & UART_LSR_FIFOE))
+	if (!(status & UART_LSR_DR) && (status & UART_LSR_FIFOE) && \
+	    !(status & UART_LSR_PE))
 		serial8250_clear_and_reinit_fifos(up);
 
 	/*

See: Synchronising your network to a Conrad DCF77 receiver
The kernel: linux-image-6.1.190-dcf2_6.1.190-dcf2-1_amd64.deb
Please note that I'm not actually a kernel developer.