lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 27 Oct 2011 15:45:19 +0900
From:	Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>
To:	Alan Cox <alan@...ux.intel.com>, gregkh@...e.de,
	linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org
Cc:	qi.wang@...el.com, yong.y.wang@...el.com, joel.clark@...el.com,
	kok.howg.ewe@...el.com,
	Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>
Subject: [PATCH 2/2] pch_uart: Delete modem status interrupt enable code

Currently, modem status interrupt software processing is not implemented.
So, if enabling modem status interrupt, the interrupt processing is not
processed correctly.
(pch_uart device has auto hardware flow control function. So, pch_uart driver
doesn't have to control modem status interrupt.)
This patch deletes the code.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@....lapis-semi.com>
---
 drivers/tty/serial/pch_uart.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index b1aabe8..1a076cd 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -1121,7 +1121,8 @@ static void pch_uart_enable_ms(struct uart_port *port)
 {
 	struct eg20t_port *priv;
 	priv = container_of(port, struct eg20t_port, port);
-	pch_uart_hal_enable_interrupt(priv, PCH_UART_HAL_MS_INT);
+	dev_info(priv->port.dev,
+		"PCH UART : Modem status interrupt is not supported.\n");
 }
 
 /* Control the transmission of a break signal. */
-- 
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ