On Fri, 24 Oct 2008 15:12:15 +0400, Sergei Shtylyov <sshtylyov@ru.mvista.com>
wrote:
> I've realized that I have a question to Atsushi on why he chose the
> same way of implemnting the register accesses as on TX4939 despite
> TX4938 IDE is not really a SoC but a board level device (so probable
> should be using the normal, not the "raw" I/O accessors)...
Well, because it behaves like SoC registers, not as other PCI IDE
registers (which are swapped on big endian).
Maybe new board designer can chose another option, so it might be
worth to add 'do_swap' member in tx4938ide_platform_info. But anyway
current code just works with both endian on RBTX4938 board :-)
---
Atsushi Nemoto