Using INT_MEMORY_AND_IO didnt help either
This is what I got when I dumped the contents of pDev->conf in my config
routine
conf.Attributes = 0
conf.ConfigBase = 1024
conf.Vpp = 0
conf.IntType = 0
conf.Status = 0
conf.Pin = 0
conf.Copy = 0
conf.ExStatus = 0
conf.ConfigIndex = 0
conf.Present = 37
Is conf.Vpp = 0 the problem here ?
-R-
----- Original Message -----
From: "Dominik Brodowski" <[email protected]>
To: "raraks" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, March 23, 2010 9:14 AM
Subject: Re: Card Memory windows in client driver - how to access ?
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
_______________________________________________
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia