summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-10-20 07:02:40 -0500
committerJohn Klug <john.klug@multitech.com>2021-12-29 08:24:06 -0600
commit1a300e3bc2a06c230db1cba6c20fca7b2d0fb406 (patch)
tree02508943fa17df2a0764021f1496ff62669f64a9 /recipes-kernel
parent3ddc59fc1bab9ff76f389353d9c419ea29cd901d (diff)
downloadmeta-multitech-atmel-1a300e3bc2a06c230db1cba6c20fca7b2d0fb406.tar.gz
meta-multitech-atmel-1a300e3bc2a06c230db1cba6c20fca7b2d0fb406.tar.bz2
meta-multitech-atmel-1a300e3bc2a06c230db1cba6c20fca7b2d0fb406.zip
Print a message to the log when setting multidrop
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-atmel-multidrop.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-atmel-multidrop.patch b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-atmel-multidrop.patch
index 188c5cf..d04b13c 100644
--- a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-atmel-multidrop.patch
+++ b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-atmel-multidrop.patch
@@ -22,7 +22,7 @@ index 1297853..cd7987b 100644
/* save the current mode register */
mode = old_mode = atmel_uart_readl(port, ATMEL_US_MR);
-@@ -2084,10 +2084,12 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,
+@@ -2084,10 +2084,13 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,
baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
@@ -33,10 +33,11 @@ index 1297853..cd7987b 100644
- mode |= ATMEL_US_CHRL_5;
+ mode |= ATMEL_US_PAR_MULTI_DROP;
+ mdrop = ATMEL_US_SENDA;
++ printk(KERN_INFO "termios: Setting Atmel Multi-Drop serial");
break;
case CS6:
mode |= ATMEL_US_CHRL_6;
-@@ -2246,7 +2248,8 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,
+@@ -2246,7 +2249,8 @@ static void atmel_set_termios(struct uart_port *port, struct ktermios *termios,
atmel_uart_writel(port, ATMEL_US_BRGR, quot);
atmel_uart_writel(port, ATMEL_US_CR, ATMEL_US_RSTSTA | ATMEL_US_RSTRX);