summaryrefslogtreecommitdiff
path: root/include/linux/atmel_serial.h
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2013-10-17 17:37:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-17 13:31:19 -0700
commit731d9cae0204a8948c7db2f551edcd5d5822ed95 (patch)
tree904a627df3c9809d9d60bd3cbaae72309f604e32 /include/linux/atmel_serial.h
parent892db58bd1285d44e6e1a1e36157161990ec5ae4 (diff)
tty/serial: at91: add a fallback option to determine uart/usart property
On older SoC, the "name" field is not filled in the register map. Fix the way to figure out if the serial port is an uart or an usart for these older products (with corresponding properties). Signed-off-by: Nicolas Ferre <nicolas.ferre@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/atmel_serial.h b/include/linux/atmel_serial.h
index be201ca2990c..00beddf6be20 100644
--- a/include/linux/atmel_serial.h
+++ b/include/linux/atmel_serial.h
@@ -125,5 +125,6 @@
#define ATMEL_US_IF 0x4c /* IrDA Filter Register */
#define ATMEL_US_NAME 0xf0 /* Ip Name */
+#define ATMEL_US_VERSION 0xfc /* Ip Version */
#endif