public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tty: serial: 8250: remove U6715 16550A auto-detection
@ 2013-03-19 19:50 Philippe Langlais
  2013-03-20 17:21 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe Langlais @ 2013-03-19 19:50 UTC (permalink / raw)
  To: linux-kernel, linux-serial, Greg Kroah-Hartman
  Cc: Hans-Peter Oeri, Philippe Langlais

The auto-detection based on 64 bytes fifo size causes troubles
for the identification of the MultiTechZPX Modems (pci 11c1:0480).
They loose the ability to do hardware flow control
(specifically CTS is never set).

Signed-off-by: Philippe Langlais <philippe.langlais@st.com>
---
 drivers/tty/serial/8250/8250.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c
index cf6a538..3255014 100644
--- a/drivers/tty/serial/8250/8250.c
+++ b/drivers/tty/serial/8250/8250.c
@@ -1026,15 +1026,6 @@ static void autoconfig_16550a(struct uart_8250_port *up)
 
 		return;
 	}
-
-	/*
-	 * We distinguish between 16550A and U6 16550A by counting
-	 * how many bytes are in the FIFO.
-	 */
-	if (up->port.type == PORT_16550A && size_fifo(up) == 64) {
-		up->port.type = PORT_U6_16550A;
-		up->capabilities |= UART_CAP_AFE;
-	}
 }
 
 /*
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-21  8:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-19 19:50 [PATCH] tty: serial: 8250: remove U6715 16550A auto-detection Philippe Langlais
2013-03-20 17:21 ` Greg Kroah-Hartman
2013-03-21  8:28   ` Heikki Krogerus
2013-03-21  8:36   ` Philippe LANGLAIS

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox