[patch]handle new variety in TIOCMGET ioctl

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hi,

this makes some serial devices work in roles they failed, as the
ioctl was not supported.

	Regards
		Oliver

Signed-off-by: Oliver Neukum <[email protected]>
---

--- a/drivers/usb/serial/ftdi_sio.c	2007-08-30 13:42:21.000000000 +0200
+++ b/drivers/usb/serial/ftdi_sio.c	2007-08-30 13:42:36.000000000 +0200
@@ -2101,6 +2101,7 @@ static int ftdi_tiocmget (struct usb_ser
 	case FT8U232AM:
 	case FT232BM:
 	case FT2232C:
+	case FT232RL:
 		/* the 8U232AM returns a two byte value (the sio is a 1 byte value) - in the same
 		   format as the data returned from the in point */
 		if ((ret = usb_control_msg(port->serial->dev,

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.