Hello Eric, On Thursday 25 May 2006 22:49, Eric Piel wrote: > > i have downloaded the driver > > (O2Micro_PCMCIA_SCR_203_Linux_Kernel26_OpenSource.tar.gz) from > > www.musclecard.com. > > > > It compiles well for kernels up to 2.6.15. > > > > But starting with linux kernel version 2.6.16 the PCMCIA subsystem have > > been changed. As result the driver above does not compile any more. > > > > For example the "struct pcmcia_driver" was changed. The members attach, > > event and detach have been removed and/or replaced with other ones > > (having different signatures). > > > > Do you have any updates, fixes or hints available to let the driver build > > running again ? > > Hey! > > I've got the same problem here. Using 2.6.16 and therefore I can't > compile the module. As I don't even know if it works with my hardware, > I'm not so willing to try to understand how to debug it too much. > However, I've looked a bit around and found the commit that changed the > kernel API. It should give enough information for someone willing to > update this driver : (pcmcia: unify attach, EVENT_CARD_INSERTION > handlers into one probe callback) > http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=comm >itdiff;h=f8cfa618dccbdc6dab5297f75779566a388a98fd
Thanks for the link, but > 300 KBytes diff is too much for me to analyze. > Does anyone knows who is the current maintainer of the O2micro driver? > Jeffrey Dai? I'd be happy to help updating, at least I can promise to > test the result :-) According to the source header it is originated by o2micro itself. No idea who is in the task updating it. Although i have some rather limited knowledge in Linux kernel programming i miss a lot of info regarding pcmcia as such and these pcmcia interface changes in special. Nothing to say - kernel interrupt handling (i such a routine in the code) is completely unknown to me. > BTW, with this kind of driver completely opened source, it might be a > could idea to ask for inclusion into the kernel, such API breakage would > be much easier to handle then (and people would be able to use their > hardware out of the box). Agree. Would be a great idea. regards Petric _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
