Re: CrystalHD driver safe on big endian systems?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Leon Woestenberg
Date: Monday, March 22, 2010 - 4:32 am

Hello Scott and others,

On Mon, Mar 22, 2010 at 4:53 AM, Scott D. Davilla <davilla@4pi.com> wrote:
What parts of the code assumes little endian from what you've seen?

Now, byte swap endianess is one thing, C bitfields in combination with
it, another. I have given it a first shot here (mailer unsuitable for
sending patches), still failed on PowerPC:
http://www.sidebranch.com/crystalhd/

May I suggest we instrument all register access functions with a
printk() of the register being written? Then I can compare little
endian access patterns with big endian, to be sure we get the
bitfields, code assumptions and byte swap correctly.

Regards,
-- 
Leon
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
CrystalHD driver safe on big endian systems?, Leon Woestenberg, (Sun Mar 21, 2:03 pm)
Re: CrystalHD driver safe on big endian systems?, Scott D. Davilla, (Sun Mar 21, 8:53 pm)
Re: CrystalHD driver safe on big endian systems?, Leon Woestenberg, (Mon Mar 22, 4:32 am)