summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-10-20 07:02:40 -0500
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-11-18 09:57:42 +0200
commitbb18a6d3ce1d2f4cef991e465d74ba135f37726c (patch)
tree6b4feb9377555a6507bd1d28edbd8dc4e01069cd /recipes-kernel/linux
parentac7e8e9592d0e57bf774e9850707a6fc9f5a3483 (diff)
downloadmeta-multitech-atmel-bb18a6d3ce1d2f4cef991e465d74ba135f37726c.tar.gz
meta-multitech-atmel-bb18a6d3ce1d2f4cef991e465d74ba135f37726c.tar.bz2
meta-multitech-atmel-bb18a6d3ce1d2f4cef991e465d74ba135f37726c.zip
Print a message to the log when setting multidrop
Diffstat (limited to 'recipes-kernel/linux')
-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);