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)
commitad674e53b5cce265fadafbde2c6a4f190345cd00
tree71251dd04712d3becb9cc4bdf374d2fb8863f76d
parentc84bd4f104098861e162be848a00d64c1fa76ed4
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