> I attached a complete diff that should do the right thing. I believe > this is the only way to do this in a portable fashion, even if results > in some redundant work being done on bigendian machines. I also > avoided to increment the pointer inside the macros, just in case the > le32_to_cpu macro reuses it's argument. > > Peter, apply it by making something like > > patch -p1 -i mach64-endian-mmio.diff > > in the xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel and > report back to us when you have time.
Sorry about the lateness of my reply but i have been away over night and didn´t get this mail until just recently. The patch fails when patching mach64_state.c. It exits with "HUNK #2 FAILED at 535" and i am not comfortable with applying the changes manually since there are a great risc that i would do something wrong. I am using the latest dri branch which i downloaded a couple of minutes ago. Michael, have you got hold of the screenshot or would you like me to re send it to you? Peter