aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/altera/jtag_uart/altera_jtag_uart_cons.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/altera/jtag_uart/altera_jtag_uart_cons.c')
-rw-r--r--sys/dev/altera/jtag_uart/altera_jtag_uart_cons.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/altera/jtag_uart/altera_jtag_uart_cons.c b/sys/dev/altera/jtag_uart/altera_jtag_uart_cons.c
index ae8459713003..96d20ceb21f4 100644
--- a/sys/dev/altera/jtag_uart/altera_jtag_uart_cons.c
+++ b/sys/dev/altera/jtag_uart/altera_jtag_uart_cons.c
@@ -221,6 +221,9 @@ aju_cons_write(char ch)
* disconnection.
*
* XXXRW: The polling delay may require tuning.
+ *
+ * XXXRW: Notice the inherent race with hardware: in clearing the
+ * bit, we may race with hardware setting the same bit.
*/
v = aju_cons_control_read();
if (v & ALTERA_JTAG_UART_CONTROL_AC) {