At Wed, 22 May 2002 09:56:28 -0400,
Paul Davis wrote:
> 
> >basically PCI bus is accessed as LE.  that's why in_le32 is used
> 
> OK, well apparently on OS X, either RME didn't use standard macros for
> this (most likely), or there are no standard macros for this.
> 
> >there.  we can access to io without considration of endianess as long
> >as using readX/writeX.
> 
> Sounds like it, yes. Very nice.

ok, then we can erase stuffs cpu_to_xxx and vice versa.
but still one thing is not certain.  what does the following (in
snd_hdsp_initialize_firmware) set?

        #ifdef SNDRV_BIG_ENDIAN
                hdsp_write(hdsp, HDSP_jtagReg, HDSP_BIGENDIAN_MODE);
        #endif

does it switch the access to big-endian?  if yes, then we need
cpu_to_xxx things there (to revert the conversion in readX/writeX), or
use __raw_readX/writeX for access.

well, anyway a tester with ppc machine is wanted to confirm this...


Takashi

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to