summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorVishal Singh <vissingh@nvidia.com>2012-09-26 16:50:48 +0530
committerMrutyunjay Sawant <msawant@nvidia.com>2012-10-29 07:18:43 -0700
commitfdc356bd8ae3fb9d7084abc537eeb65ffd887758 (patch)
tree60bfa7660fee1bf15111783635c12f36b3a0f51c /drivers/tty
parent88163960f2a5cd2a6a73d7c89ca1aef0e8f4e89f (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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250/8250.c2
-rw-r--r--drivers/tty/serial/8250/Kconfig7
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c
index 4c05387ca830..00872cd05119 100644
--- a/drivers/tty/serial/8250/8250.c
+++ b/drivers/tty/serial/8250/8250.c
@@ -912,6 +912,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
@@ -951,6 +952,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 591f8018e7dd..b794d1766a6a 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -159,6 +159,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
#