Hey,

On Sun, May 09, 2010 at 09:11:15PM +0900, Komuro wrote:
> > >>- Is it just a buggy card if it works at 0x300 but not 0xc300
> > >>  (or is it maybe a problem with Linux assigning the io area)?
> > >>- Why is IOAddrLines forced to 16 (and thus alignment to 0x10000), but onl
> y
> > >>  if BasePort1 is 0?
> > 
> >
> >In this case, 
> >start = 0xc000, 
> >align_data->mask = 0x3ff, 
> >align_data->offset = 0x300
> >then ret becomes 0xc300;
> >
> >but ret should be 0x300.
> 
> 
> "pci_find_parent_resource" only finds the io-window of cardbus bridge.

It only finds IO windows which also the parent Cardbus bridge can see.
However, other IO areas (even if they are added by pmcia-socket-startup) may
not be "seen" by the parent Cardbus bridge. Thus they may not be available
for use, even for PCMCIA. THerefore, the current behaviour seems proper.

Best,
        Dominik

_______________________________________________
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia

Reply via email to