On Thu, 2004-07-01 at 15:59, Matthew McClintock wrote: > The driver works well on both an mpc8540ads and a sandpoint here. > However, I just learned yesterday that i2c 32-bit read/writes on the > 85xx will not always be guaranteed to work.
It seems that the MPC107 is happy with 8 bit accesses to the registers, so here's another version of the patch. This also changes the time calculations to use time_after(). This still leaves the interrupt handling register of the MPC5200 unsolved. I suggest introducing another flag for the MPC5200, and adding a small piece of extra setup code. - Adrian Cox Humboldt Solutions Ltd. -------------- next part -------------- A non-text attachment was scrubbed... Name: mpc-i2c-3.patch Type: text/x-patch Size: 13104 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20040701/2eaedbf3/attachment.bin
