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/