[PATCHES] 11-pcmciaresource

Dominik Brodowski linux at dominikbrodowski.de
Sat Mar 27 10:03:36 GMT 2004


On Fri, Mar 26, 2004 at 11:03:27PM +0000, Russell King wrote:
> 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.

But maybe we can _try_ it in the near future, marked
CONFIG_DANGEROUS_EXPERIMENT or something like that...

Another interesting bit about NoISA:

on my new notebook, PCI CardBus mem is reserved in the range of 
10400000 to 113fffff,  but memory behind bridge is e0200000 to e02fffff.
ioports are 4000-4cff, but ioports behind bridge are 3000 - 3ffff

	Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20040327/e10e8602/attachment-0001.bin


More information about the linux-pcmcia mailing list