Hi, On Wed, Oct 31, 2012 at 12:00:01PM +0100, openwrt-devel-requ...@lists.openwrt.org wrote: > Date: Tue, 30 Oct 2012 17:48:48 -0700 > From: John Clark <jeclark2...@aim.com> > > Has anyone used OpenWRT Linux 3.3.8 kernel, and the included FTDI serial port > interface driver with the Power PC. > > I suspect there are byte swapping issues, and would like to know if anyone > else has 'used' the driver and 1) had no problem... or 2) had and fixed a > problem.
As an "interested" party, I had a quick look at current ftdi_sio.c history ( http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=history;f=drivers/usb/serial/ftdi_sio.c;h=be845873e23dba98fc306fecceb71a672a2c7d74;hb=HEAD ), and there doesn't seem to be much committed that's relevant. However, commit d1ab903d2552b2362339b19203c7f01c797cb316 Author: Michael Wileczka <mikewilec...@yahoo.com> Date: Wed Aug 18 07:14:37 2010 -0700 USB: ftdi_sio: fix endianess of max packet size The USB max packet size (always little-endian) was not being byte swapped on big-endian systems. Applicable since [USB: ftdi_sio: fix hi-speed device packet size calculation] approx 2.6.31 Signed-off-by: Michael Wileczka <mikewilec...@yahoo.com> Cc: stable <sta...@kernel.org> Signed-off-by: Greg Kroah-Hartman <gre...@suse.de> might be a good example of where to find and how to treat such issues. HTH, Andreas Mohr _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel