summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/8250.h
diff options
context:
space:
mode:
authorPeter Hurley2015-02-24 20:25:14 +0100
committerGreg Kroah-Hartman2015-03-26 18:18:20 +0100
commit403753937020549e4bb0d8ef6e915f00a338a096 (patch)
treefe36c7e398cc3d28c3c7bd7a0bd1245f6d0ddf1c /drivers/tty/serial/8250/8250.h
parentserial: 8250: Only get RSA resource when required (diff)
downloadkernel-qcow2-linux-403753937020549e4bb0d8ef6e915f00a338a096.tar.gz
kernel-qcow2-linux-403753937020549e4bb0d8ef6e915f00a338a096.tar.xz
kernel-qcow2-linux-403753937020549e4bb0d8ef6e915f00a338a096.zip
serial: 8250: Decouple RSA probe
Prepare for 8250 split; separate RSA probe and resource management from base port operations. Override base port operations for the config_port(), request_port() and release_port() methods to implement the optional RSA probe and resource management only in the universal/legacy 8250 driver. Introduce 'probe' flags for 8250 ports, which allows drivers higher up the driver stack to enable optional probes. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250.h')
-rw-r--r--drivers/tty/serial/8250/8250.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h
index 23dc9f9b9839..c43f74c53cd9 100644
--- a/drivers/tty/serial/8250/8250.h
+++ b/drivers/tty/serial/8250/8250.h
@@ -84,9 +84,6 @@ struct serial8250_config {
#define UART_BUG_THRE (1 << 3) /* UART has buggy THRE reassertion */
#define UART_BUG_PARITY (1 << 4) /* UART mishandles parity if FIFO enabled */
-#define PROBE_RSA (1 << 0)
-#define PROBE_ANY (~0)
-
#define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)
#ifdef CONFIG_SERIAL_8250_SHARE_IRQ