diff options
author | John Klug <john.klug@multitech.com> | 2021-10-20 07:02:40 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-11-15 03:48:31 -0600 |
commit | 7799ed6d5ce1b9f63f0b347cda85a7054b7bd816 (patch) | |
tree | 02508943fa17df2a0764021f1496ff62669f64a9 /recipes-kernel/linux | |
parent | 30cc4ec34b3852a42ca12d9c33d12682fa97d534 (diff) | |
download | meta-multitech-atmel-7799ed6d5ce1b9f63f0b347cda85a7054b7bd816.tar.gz meta-multitech-atmel-7799ed6d5ce1b9f63f0b347cda85a7054b7bd816.tar.bz2 meta-multitech-atmel-7799ed6d5ce1b9f63f0b347cda85a7054b7bd816.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.patch | 5 |
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); |