]> git.baikalelectronics.ru Git - kernel.git/commit
serial: at91: distinguish usart and uart
authorElen Song <elen.song@atmel.com>
Mon, 22 Jul 2013 08:30:29 +0000 (16:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Jul 2013 20:04:12 +0000 (13:04 -0700)
commit60d22f5895e989a9a1dff9249a463475031ea143
tree9ab27afe910729ddfd1eb45c5ceff766424126bf
parentcdcc2f08dbf4426f5410e5826c06ccb16b6cf646
serial: at91: distinguish usart and uart

Distinguish usart and uart by read ip name register,
The usart read name is "USAR",
The uart and dbgu read name is "DBGU".

Signed-off-by: Elen Song <elen.song@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c
include/linux/atmel_serial.h