summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2013-03-07 10:28:37 +0800
committerBen Hutchings <ben@decadent.org.uk>2013-03-20 15:03:33 +0000
commit3aed32554e8ab466645973aae1809bd8ff33d351 (patch)
tree951f9175e5c06f34b23d5d2c39aa003384759074 /include
parentc1dd1f576c5ce265bb8e186f01c91340a5138f49 (diff)
downloadkernel-common-3aed32554e8ab466645973aae1809bd8ff33d351.tar.gz
kernel-common-3aed32554e8ab466645973aae1809bd8ff33d351.tar.bz2
kernel-common-3aed32554e8ab466645973aae1809bd8ff33d351.zip
tty/serial: Add support for Altera serial port
commit e06c93cacb82dd147266fd1bdb2d0a0bd45ff2c1 upstream. Add support for Altera 8250/16550 compatible serial port. Signed-off-by: Ley Foon Tan <lftan@altera.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> [bwh: Backported to 3.2: adjust filenames, context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/serial_core.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index bae516e39a54..42e35c31b071 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -48,7 +48,10 @@
#define PORT_TEGRA 20 /* NVIDIA Tegra internal UART */
#define PORT_XR17D15X 21 /* Exar XR17D15x UART */
#define PORT_BRCM_TRUMANAGE 25
-#define PORT_MAX_8250 25 /* max port ID */
+#define PORT_ALTR_16550_F32 26 /* Altera 16550 UART with 32 FIFOs */
+#define PORT_ALTR_16550_F64 27 /* Altera 16550 UART with 64 FIFOs */
+#define PORT_ALTR_16550_F128 28 /* Altera 16550 UART with 128 FIFOs */
+#define PORT_MAX_8250 28 /* max port ID */
/*
* ARM specific type numbers. These are not currently guaranteed