[PATCH] pxa2xx PCMCIA timing issue on iPAQ H5550

Steven Newbury s_j_newbury at yahoo.co.uk
Thu Aug 9 11:06:54 EDT 2007


--- Milan Plzik <milan.plzik at gmail.com> wrote:

>   Good day,
> 
>   recently I've been trying to get working PCMCIA interface on H5000
> ipaq series, using dual PCMCIA sleeve. So far things work correctly, but
> I had to do one modification to drivers/pcmcia/pxa2xx_base.c to get the
> interface working with orinoco gold PCMCIA card (wired pcnet_cs ethernet
> card worked even without this modification). Patch attached.
> 
>   The issue has something to do with assert time on PCMCIA bus, but I'm
> not really sure what -- I found the working value just by trial&error
> approach. I'm not sure how is the assert value in pxa2xx_mcxx_asst
> calculated (I know, simple formula, but the reason why is it calculated
> that way is not obvious for me), neither that my modification is
> correct. It just works with iPAQ. 
> 
I posted a patch to linux-arm-kernel which reworked the timing code.  The
existing is/was IMHO wrong and this showed up for me with frequency scaling
where the code would not keep the PCMCIA timings constant with changes to the
core frequency.  Here it is:
http://marc.info/?l=linux-arm-kernel&m=116861295404294&w=2


Steve


      ___________________________________________________________
For email that puts you in control, choose Yahoo! Mail.
http://uk.docs.yahoo.com/mail/addressguard2.html



More information about the linux-pcmcia mailing list