On Saturday 18 April 2009 20:37:57 Aurelien Jarno wrote: > On Sat, Apr 18, 2009 at 08:47:11PM +0900, Shin-ichiro KAWASAKI wrote: > > Vladimir Prus wrote: > >> Shin-ichiro KAWASAKI wrote: > >> > >>>> This patch was tested both with r2d, using kernel and userland found > >>>> at: > >>>> > >>>> thttp://www.assembla.com/wiki/show/qemu-sh4/BuildingEnvironment > >>>> > >>>> and with 7785, using a hand-made kernel. > >>> Patch 2 produces a trouble in my environment. > >>> For r2d, the output to SCIF from kernel is OK, but output from > >>> shell is broken by inserted white space, like follows. > >>> > >>> (before applying patch 2) > >>> # ls > >>> > >>> (after applying patch2) > >>> # l s > >>> > >>> Do you have time to investigate it? > >> > >> The attached revision of the patch fixes the problem for me. I failed to > >> account for the fact that one cannot write '1' bit into FSR register. > > > > I've checked that the new patch avoids the problem. > > Those 3 patches all seem OK for me. Thank you! > > > > I have looked at the three patches, they all looks ok, except for coding > style issues of block structures. Vladimir, could you please fix that > (see file CODING_STYLE, 4. Block structure) and send the patches with a > Signed-off-by: ? I'll apply them. Here are the revised patches -- there were a few places where preexisting code did not have {} around one-line statement, I've added braces there too. Thanks, Volodya