Home
last modified time | relevance | path

Searched hist:"5 c1d082b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Ddm9000x.c5c1d082b Thu Aug 25 02:46:43 CDT 2011 Jason Jin <Jason.jin@freescale.com> DM9000:Add a byte swap macro for dm9000 io operation.

commit a45dde2293c816138e53c26eca6fd0322583f9a6 changed the dm9000
direct register access to standard IO. This should work
on the ColdFire platform as there are corresponding macros for
the LE devices. But the hardware settings on some ColdFire boards had
swapped the byte order which make the original macros such as out_le16
cannot work. To avoid changing the common io access code on ColdFire
platform, the DM9000_BYTE_SWAPPED define was added to make the dm9000 use
__raw* IO access on some ColdFire boards.

Signed-off-by: Jason Jin <Jason.jin@freescale.com>