diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-21 15:06:14 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-21 15:06:14 -0500 |
commit | ca740803856f23dbc5b1872039291231bc131ecb (patch) | |
tree | 21e202f017fa46fc6fb369aefcc7e0b81231b61c | |
parent | ce8337cb7dc327c3ae3684ba0ee5d7cbde1fd296 (diff) |
[SERIAL] Remove UPF_AUTOPROBE and UPF_BOOT_ONLYMCA
The functionality UPF_BOOT_ONLYMCA provided has been replaced by
the 8250_mca module, which only registers MCA ports if MCA is
present.
UPF_AUTOPROBE has no functional effect - in fact, it's never
tested. Only ibmasm set the flag.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/misc/ibmasm/uart.c | 2 | ||||
-rw-r--r-- | drivers/serial/8250.c | 7 | ||||
-rw-r--r-- | include/linux/serial_core.h | 2 |
3 files changed, 1 insertions, 10 deletions
diff --git a/drivers/misc/ibmasm/uart.c b/drivers/misc/ibmasm/uart.c index 7e98434cfa37..9783caf49696 100644 --- a/drivers/misc/ibmasm/uart.c +++ b/drivers/misc/ibmasm/uart.c | |||
@@ -50,7 +50,7 @@ void ibmasm_register_uart(struct service_processor *sp) | |||
50 | memset(&uport, 0, sizeof(struct uart_port)); | 50 | memset(&uport, 0, sizeof(struct uart_port)); |
51 | uport.irq = sp->irq; | 51 | uport.irq = sp->irq; |
52 | uport.uartclk = 3686400; | 52 | uport.uartclk = 3686400; |
53 | uport.flags = UPF_AUTOPROBE | UPF_SHARE_IRQ; | 53 | uport.flags = UPF_SHARE_IRQ; |
54 | uport.iotype = UPIO_MEM; | 54 | uport.iotype = UPIO_MEM; |
55 | uport.membase = iomem_base; | 55 | uport.membase = iomem_base; |
56 | 56 | ||
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index ff2f931c6715..179c1f065e60 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
32 | #include <linux/console.h> | 32 | #include <linux/console.h> |
33 | #include <linux/sysrq.h> | 33 | #include <linux/sysrq.h> |
34 | #include <linux/mca.h> | ||
35 | #include <linux/delay.h> | 34 | #include <linux/delay.h> |
36 | #include <linux/platform_device.h> | 35 | #include <linux/platform_device.h> |
37 | #include <linux/tty.h> | 36 | #include <linux/tty.h> |
@@ -2027,12 +2026,6 @@ static void serial8250_config_port(struct uart_port *port, int flags) | |||
2027 | int ret; | 2026 | int ret; |
2028 | 2027 | ||
2029 | /* | 2028 | /* |
2030 | * Don't probe for MCA ports on non-MCA machines. | ||
2031 | */ | ||
2032 | if (up->port.flags & UPF_BOOT_ONLYMCA && !MCA_bus) | ||
2033 | return; | ||
2034 | |||
2035 | /* | ||
2036 | * Find the region that we can probe for. This in turn | 2029 | * Find the region that we can probe for. This in turn |
2037 | * tells us whether we can probe for the type of port. | 2030 | * tells us whether we can probe for the type of port. |
2038 | */ | 2031 | */ |
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index ec351005bf9d..f3af47713a4e 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -245,9 +245,7 @@ struct uart_port { | |||
245 | #define UPF_HARDPPS_CD (1 << 11) | 245 | #define UPF_HARDPPS_CD (1 << 11) |
246 | #define UPF_LOW_LATENCY (1 << 13) | 246 | #define UPF_LOW_LATENCY (1 << 13) |
247 | #define UPF_BUGGY_UART (1 << 14) | 247 | #define UPF_BUGGY_UART (1 << 14) |
248 | #define UPF_AUTOPROBE (1 << 15) | ||
249 | #define UPF_MAGIC_MULTIPLIER (1 << 16) | 248 | #define UPF_MAGIC_MULTIPLIER (1 << 16) |
250 | #define UPF_BOOT_ONLYMCA (1 << 22) | ||
251 | #define UPF_CONS_FLOW (1 << 23) | 249 | #define UPF_CONS_FLOW (1 << 23) |
252 | #define UPF_SHARE_IRQ (1 << 24) | 250 | #define UPF_SHARE_IRQ (1 << 24) |
253 | #define UPF_BOOT_AUTOCONF (1 << 28) | 251 | #define UPF_BOOT_AUTOCONF (1 << 28) |