From d0c7d235c09fc65dbdb278e7016a96f79c6a49cc Mon Sep 17 00:00:00 2001 From: "Robert N. M. Watson" Date: Fri, 2 May 2014 20:56:31 +0100 Subject: [PATCH] Make the Altera JTAG UART device driver slightly more forgiving of the foibles of a sub-par hrdware interface by increasing the timeout for spotting JTAG polling from one to two seconds. --- sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c b/sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c index ad5b8a41bdc5..18fb8cd93966 100644 --- a/sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c +++ b/sys/dev/altera/jtag_uart/altera_jtag_uart_tty.c @@ -67,7 +67,7 @@ static struct ttydevsw aju_ttydevsw = { * When polling for the AC bit, the number of times we have to not see it * before assuming JTAG has disappeared on us. By default, one second. */ -#define AJU_JTAG_MAXMISS 5 +#define AJU_JTAG_MAXMISS 10 /* * Polling intervals for input/output and JTAG connection events.