Cardbus memory problem

Matthew Wilcox matthew at wil.cx
Wed Dec 29 16:16:59 EST 2004


On Wed, Dec 29, 2004 at 08:38:01PM +0100, Dominik Brodowski wrote:
> Hm. The memory window -- which is the area devices "below" the bridge can
> access, and can be accessed at, is
> >         Memory window 0: e2001000-e2002000 (prefetchable)
> >         Memory window 1: e2003000-e2004000
> 
> which is only _very_ small. (btw: does anyone know why 
> this is bordering on 0x2000 and not on 0x1fff or 0x2fff? seems to be wasted 
> space to me).

I don't have a copy of the Cardbus spec, but my laptop reports:

        Memory window 0: e0400000-e04ff000 (prefetchable)
        Memory window 1: e0300000-e03ff000

and my wife's reports:

        Memory window 0: 10400000-107ff000 (prefetchable)
        Memory window 1: 10800000-10bff000

I hypothesise that the bottom 12 bits always report back 0.  Whether we're
supposed to subtract 1 (eg 107ff000 really means 107fefff) or add on
0xfff, I don't know.  But if someone could fix lspci, that'd be nice ;-)

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain



More information about the linux-pcmcia mailing list