]> git.karo-electronics.de Git - linux-beck.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)
commit055560b04a8cd063aea916fd083b7aec02c2adb8
tree9ab27afe910729ddfd1eb45c5ceff766424126bf
parent33d64c4ffab7da36d657a35fe2b494d5c971f615
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