Card Memory windows in client driver - how to access ?

Dominik Brodowski linux at dominikbrodowski.net
Tue Mar 23 12:14:04 EDT 2010


On Tue, Mar 23, 2010 at 09:13:27AM -0700, raraks wrote:
> - I would think that pDev->conf.ConfigBase and pDev->conf.Present  will 
> only be valid after a pcmcia_request_configuration. Is it valid in the 
> probe routine ?

It's set up before ->probe() is being called:


        ret = pccard_read_tuple(p_dev->socket, p_dev->func, CISTPL_CONFIG,
                                &cis_config);
        if (!ret) {
                p_dev->conf.ConfigBase = cis_config.base;
                p_dev->conf.Present = cis_config.rmask[0];
        } ...
	ret = p_drv->probe(p_dev);

> - I havent tried using INT_MEMORY_AND_IO but have tried using access speed 
> 0. I know the card normally works at 200ns

Could you try it out (_AND_IO)?

Best,
	Dominik



More information about the linux-pcmcia mailing list