[PATCHES] 11-pcmciaresource

Russell King rmk+pcmcia at arm.linux.org.uk
Fri Mar 26 23:03:27 GMT 2004

On Fri, Mar 26, 2004 at 05:54:33PM -0500, Pavel Roskin wrote:
> I believe it's much safer to use preallocated areas rather than allocate
> more.  Preallocated areas should take preference over those set up by
> cardmgr.  If there are any weird cards that only work at specific
> addresses, let's make an exception for them.  Wireless cards are working
> fine at any 0x40-aligned address.

As I said, they may not be as available as you think they are.  Yes,
they don't appear to be used when you haven't inserted a cardbus card,
but the Cardbus bridge windows are still set appropriately, and we
never change them after initialisation.

Whether its valid to map PCMCIA windows onto the same PCI space as
the existing Cardbus bridge windows does not seem to be defined -
I haven't found any statement which says either way whether it is
allowed or not.

I, therefore, think we should not assume that re-using these regions
is a valid thing to do.

Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

More information about the linux-pcmcia mailing list