Re: [PATCH 02/10] sdhci: Add support for bus-specific IO memory accessors

2009-01-22 Thread Anton Vorontsov
On Thu, Jan 22, 2009 at 12:55:48PM +0100, Arnd Bergmann wrote: > On Thursday 22 January 2009, Anton Vorontsov wrote: > > +   /* > > +    * These accessors duplicate sdhci_ops, but there are two reasons > > for > > +    * this: > > +    * 1. sdhci_ops are const, so the sdhci driver

Re: [PATCH 02/10] sdhci: Add support for bus-specific IO memory accessors

2009-01-22 Thread Arnd Bergmann
On Thursday 22 January 2009, Anton Vorontsov wrote: > +   /* > +    * These accessors duplicate sdhci_ops, but there are two reasons for > +    * this: > +    * 1. sdhci_ops are const, so the sdhci driver won't able to assign > +    *    default ops; You could assign the pointe

[PATCH 02/10] sdhci: Add support for bus-specific IO memory accessors

2009-01-21 Thread Anton Vorontsov
Currently the SDHCI driver works with PCI accessors (write{l,b,w} and read{l,b,w}). With this patch drivers may change memory accessors, so that we can support hosts with "weird" IO memory access requirments. For example, in "FSL eSDHC" SDHCI hardware all registers are 32 bit width, with big-endi