On Mon, Nov 23, 2009 at 08:23:59AM -0800, Cory Maccarrone wrote: > The omap850 and omap730 use 16-bit registers instead of 32-bit, requiring > a modification of the register addresses in the mmc-omap driver. To resolve > this, a bit shift is performed on base register addresses, either by 1 or 2 > bits depending on the CPU in use. This yields the correct registers for > each CPU. [...] > @@ -167,6 +168,8 @@ struct mmc_omap_host { > spinlock_t clk_lock; /* for changing enabled state */ > unsigned int fclk_enabled:1; > > + unsigned reg_shift:2; Ah, there is no valid reason to make it bitfield, right? Whole struct is not well layed wtr alignment, but please do not make it any worse. That is my last complain, I swear ;-). Thank you for your patience. Other than that, tested on OMAP5910 and it works now (though it needs additional patch, see here: http://thread.gmane.org/gmane.linux.kernel.mmc/649). Tested-by: Ladislav Michl <ladis@xxxxxxxxxxxxxx> Best regards, ladis -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html