On Tue, 2002-04-30 at 23:07, Jos� Fonseca wrote:
>
> The use of readl/writel just by itself introduces a novelty, since
> according to
>
>http://132.248.28.115/Bibliografia/ArticulosComputo/linux-mag-1999/Linux%20Magazine%20%20July%201999%20%20GEARHEADS%20ONLY%20%20How%20To%20Make%20Sure%20Your%20Driver%20Will%20Work%20On%20The%20Power%20Macintosh.htm
>
> it issues a special instruction to deal with the memory ordering in the IO.
So {read,write}l are what I thought {in,out}_le32 were. (The former are
defined as the latter on PPC so I knew it all along ;)
> Early this day I had sent a post to linux-kernel,
> http://www.ussg.iu.edu/hypermail/linux/kernel/0204.3/0914.html, and they
> also confirmed that the ordering is guaranteed by readl/writel macros in
> what concerns the compiler and the memory. The bus is another story (and
> it can't be solved with memory barriers), but let's see if this works
> first.
This is all the DDX driver uses so it should be fine. If there are still
problems with the FIFO then they must be something different.
--
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us:
[EMAIL PROTECTED]
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel