Comment 45 for bug 53923

Revision history for this message
Jason (jason-pfeil) wrote : Re: tifm: Texas Instruments Card reader not working

linux/mmc/protocol.h does not appear to be the only thing that is needed. The struct mmc_host structure is missing the max_sectors member in the linux/mmc/host.h file and the version of the module that comes with feisty 2.6.20-14 is 0.7. The newest version is the one to which Andrew is referring and that is version 0.8. It appears that the linux/mmc/host.h file may need to be updated but that may affect other mmc-related modules in the kernel.

The linux/mmc/host.h file from the kernel also #includes linux/mmc/mmc.h which causes additional compilation problems. Replacing that with linux/mmc/core.h got the module to compile and then it works. Maybe the solution going forward is to update the 2.6.20 sources to use 2.6.20.6 instead of 2.6.20.4 and include version 0.8 of the tifm driver?