/[linux-patches]/genpatches-2.6/trunk/2.6.13/1020_2_usb-ftdi_sio-baud-fix.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.13/1020_2_usb-ftdi_sio-baud-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 162 - (show annotations) (download) (as text)
Sat Sep 17 17:42:05 2005 UTC (15 years, 2 months ago) by dsd
File MIME type: text/x-diff
File size: 1114 byte(s)
Linux 2.6.13.2
1 From ian.abbott@mev.co.uk Mon Sep 12 04:26:02 2005
2 Message-ID: <4325652D.3040002@mev.co.uk>
3 Date: Mon, 12 Sep 2005 12:23:25 +0100
4 From: Ian Abbott <abbotti@mev.co.uk>
5 Cc: Greg KH <greg@kroah.com>
6 Subject: USB: ftdi_sio: custom baud rate fix
7
8
9 ftdi_sio: I messed up the baud_base for custom baud rate support in
10 2.6.13. The attached one-liner patch fixes it.
11
12 Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
13 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 Signed-off-by: Chris Wright <chrisw@osdl.org>
15 ---
16 drivers/usb/serial/ftdi_sio.c | 2 +-
17 1 files changed, 1 insertion(+), 1 deletion(-)
18
19 Index: linux-2.6.13.y/drivers/usb/serial/ftdi_sio.c
20 ===================================================================
21 --- linux-2.6.13.y.orig/drivers/usb/serial/ftdi_sio.c
22 +++ linux-2.6.13.y/drivers/usb/serial/ftdi_sio.c
23 @@ -874,7 +874,7 @@ static void ftdi_determine_type(struct u
24 unsigned interfaces;
25
26 /* Assume it is not the original SIO device for now. */
27 - priv->baud_base = 48000000 / 16;
28 + priv->baud_base = 48000000 / 2;
29 priv->write_offset = 0;
30
31 version = le16_to_cpu(udev->descriptor.bcdDevice);

  ViewVC Help
Powered by ViewVC 1.1.20