Re: [PATCH] ide: Add tx4938ide driver (v2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 24 Oct 2008 15:12:15 +0400, Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> 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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux