summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorVishal Singh <vissingh@nvidia.com>2012-09-26 16:50:48 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 01:10:24 -0700
commitb58ef08071b8bd9b65b4e24f54f3387c9803224c (patch)
treed12b7dd5d1f1e4f286f43c8893c0e60a74dbe7ad /drivers/tty
parent86043d2aed208bf95fefcddddaf9bf68c0837216 (diff)
serial: 8250: Fix for Initial high frequency pulse
An intial high frequency pluse is seen while checking for a National Semiconductor SuperIO chip. Disabling the check by default. Reviewed-on: http://git-master/r/131698 Change-Id: I6950958d8949fb7e02fe2fe1b5716223d4b0e23e Signed-off-by: Vishal Singh <vissingh@nvidia.com> Reviewed-on: http://git-master/r/138941 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com> Rebase-Id: R638951e83c44e4ce27d9f89833dc9d16cef5ed3b
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250/8250_core.c2
-rw-r--r--drivers/tty/serial/8250/Kconfig7
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c
index b0d6afe984b6..4a93eb65ddf7 100644
--- a/drivers/tty/serial/8250/8250_core.c
+++ b/drivers/tty/serial/8250/8250_core.c
@@ -917,6 +917,7 @@ static void autoconfig_16550a(struct uart_8250_port *up)
return;
}
+#ifdef CONFIG_HAS_NS_SUPER_IO_CHIP
/*
* Check for a National Semiconductor SuperIO chip.
* Attempt to switch to bank 2, read the value of the LOOP bit
@@ -956,6 +957,7 @@ static void autoconfig_16550a(struct uart_8250_port *up)
return;
}
}
+#endif
/*
* No EFR. Try to detect a TI16750, which only sets bit 5 of
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index 80fe91e64a52..4681c8e7abad 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -184,6 +184,13 @@ config SERIAL_8250_MANY_PORTS
say N here to save some memory. You can also say Y if you have an
"intelligent" multiport card such as Cyclades, Digiboards, etc.
+config HAS_NS_SUPER_IO_CHIP
+ bool "Support National Semiconductor SuperIO chip"
+ depends on SERIAL_8250
+ default n
+ help
+ Say Y here If you wish to use National Semiconductor SuperIO chip
+
#
# Multi-port serial cards
#