MAC DBDMA: store register values in native endianness
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 24 Dec 2009 00:00:41 +0000 (01:00 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 24 Dec 2009 18:40:29 +0000 (19:40 +0100)
commitd062a2da1cd22b5dca9cff9752952bc53907375c
tree71251dd04712d3becb9cc4bdf374d2fb8863f76d
parent9e45e9c170ca09b3ceef09d8bb44830cb6687be9
MAC DBDMA: store register values in native endianness

Store the register values in native endianness, by dropping all the
endianness conversion functions, and converting the endianness in
dbdma_readl/dbdma_writel instead.

Also guard the endianness conversion with TARGET_WORDS_BIGENDIAN to
simulate the backward connection of the bus.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/mac_dbdma.c