From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Re: hdsp on big-endian Date: Wed, 22 May 2002 14:56:07 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200205221223.g4MCNPj25743@post2.fast.net> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <200205221223.g4MCNPj25743@post2.fast.net> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Paul Davis Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 22 May 2002 08:25:23 -0400, Paul Davis wrote: > > >anyway... after looking at the hdsp code again, i found that these > >endian conversions are not necessary at all! > >IIRC, readX/writeX already convert the endianess in itself. thus, the > > absolutely not. readl/writel on most architectures translate to: > > *addr = val; > really? for example, ppc uses in_le32() for readl(), which implies byte swapping. 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