[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-usb-devel
Subject: [linux-usb-devel] [patch]handle new variety in TIOCMGET ioctl
From: Oliver Neukum <oliver () neukum ! org>
Date: 2007-08-31 7:36:03
Message-ID: 200708310936.03851.oliver () neukum ! org
[Download RAW message or body]
Hi,
this makes some serial devices work in roles they failed, as the
ioctl was not supported.
Regards
Oliver
Signed-off-by: Oliver Neukum <oneukum@suse.de>
---
--- 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/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic