Hi Martyn, On Mon, Jan 13, 2014 at 4:00 AM, Martyn Welch <martyn.we...@ge.com> wrote: [snip] > > Hi Mike, > > I'm a little bemused by this one - I haven't managed to replicate it yet. I > have a feeling that the VME driver in version 3.2 won't use 16-bit transfers > at the beginning of blocks that aren't naturally aligned (it does D8, D8, D8, > D32... rather than D8, D16, D32... but I'm fairly sure it was doing the bulk > of a large transfer correctly). > > I've got some test code here you could try (VME address may need modifying to > something more appropriate to you - I have an old PPC board acting as a slave > at 0x8BB00000 in my system). I'm running this on a 3.12 kernel, but this > should work (could you try a newer version of the kernel?): > [code removed] > > I've plugged in an analyser, everything looks good here, 32-bit reads and > writes. I've confirmed that I see 16-bit cycles when I set dwidth to 2.
Thanks, I will trying running the test code later this week. As for upgrading the kernel, I will certainly look into it. --Mike _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel