summaryrefslogtreecommitdiffstats
path: root/include/linux/atmel_serial.h
diff options
context:
space:
mode:
authorElen Song2013-07-22 10:30:29 +0200
committerGreg Kroah-Hartman2013-07-29 22:04:12 +0200
commit055560b04a8cd063aea916fd083b7aec02c2adb8 (patch)
tree9ab27afe910729ddfd1eb45c5ceff766424126bf /include/linux/atmel_serial.h
parentserial: at91: support run time switch transfer mode (diff)
downloadkernel-qcow2-linux-055560b04a8cd063aea916fd083b7aec02c2adb8.tar.gz
kernel-qcow2-linux-055560b04a8cd063aea916fd083b7aec02c2adb8.tar.xz
kernel-qcow2-linux-055560b04a8cd063aea916fd083b7aec02c2adb8.zip
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.h2
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