lkml.org 
[lkml]   [1999]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: New resources - pls, explain :-(
From
Date
>>>>> "Peter" == Peter Desnoyers <pjd@fred001.dynip.com> writes:

Peter> I'm assuming that there are no PCI devices where device
Peter> registers are always big-endian. (is that true for all weird
Peter> Mac cards?) Handling of cases is:

There are cards where this is that case and for frame buffer memory it
is certainly a valid case.

Peter> 3,4. The driver sets the swapping inside an #ifdef BIGENDIAN
Peter> when first setting up the hardware, and then uses
Peter> native_readl/native_writel.

These are the only cases where we are interested in bigendian_writel -
PCI defaults to little endian and unless you have special handling in
the cards and you have a reson to use it one should stay with the
little endian defaults.

Jes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.862 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site