diff options
author | Elen Song <elen.song@atmel.com> | 2013-07-22 12:30:29 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-30 00:04:12 +0400 |
commit | 055560b04a8cd063aea916fd083b7aec02c2adb8 (patch) | |
tree | 9ab27afe910729ddfd1eb45c5ceff766424126bf /include/linux/atmel_serial.h | |
parent | 33d64c4ffab7da36d657a35fe2b494d5c971f615 (diff) | |
download | linux-055560b04a8cd063aea916fd083b7aec02c2adb8.tar.xz |
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>
Diffstat (limited to 'include/linux/atmel_serial.h')
-rw-r--r-- | include/linux/atmel_serial.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/atmel_serial.h b/include/linux/atmel_serial.h index fd6833764d72..be201ca2990c 100644 --- a/include/linux/atmel_serial.h +++ b/include/linux/atmel_serial.h @@ -124,4 +124,6 @@ #define ATMEL_US_NER 0x44 /* Number of Errors Register */ #define ATMEL_US_IF 0x4c /* IrDA Filter Register */ +#define ATMEL_US_NAME 0xf0 /* Ip Name */ + #endif |