From: Anton Vorontsov Date: Mon, 16 Mar 2009 21:13:46 +0000 (+0300) Subject: sdhci: Add support for bus-specific IO memory accessors X-Git-Tag: v2.6.30-rc1~209^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e4141a526dd7f5ac3ce1458ae79ea6e5a515b06;p=pandora-kernel.git sdhci: Add support for bus-specific IO memory accessors 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-endian addressing. That is, readb(0x2f) should turn into readb(0x2c), and readw(0x2c) should be translated to le16_to_cpu(readw(0x2e)). Signed-off-by: Anton Vorontsov Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed