Module Name: src Committed By: rin Date: Thu Mar 25 05:35:50 UTC 2021
Modified Files: src/sys/arch/sandpoint/conf: KUROBOX src/sys/arch/sandpoint/sandpoint: com_eumb.c Log Message: At least KuroBox Classic and HG seem to have buggy UART, for which ETXRDY interrupts are sometimes (once per a few hours?) lost; TX stalls until next RX arrives. Since interrupt-based I/O works just fine for other devices, I believe this problem is due to UART and not to PIC or its driver. In order to work around this bug, enable COM_HW_BROKEN_ETXRDY bit, as well as carry out polling once per 10 sec or 1k tics (arbitrary, but 1 min seems too long). XXX Apply this for other MPC824x-based boards? To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sandpoint/conf/KUROBOX cvs rdiff -u -r1.11 -r1.12 src/sys/arch/sandpoint/sandpoint/com_eumb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.