[Prism54-users] PCI memory reservation failures

Vanja Hrustic vanja@pobox.com
Fri, 7 May 2004 21:11:57 +0200


On Thu, 06 May 2004 19:45:41 -0600
"Alec H. Peterson" <ahp@hilander.com> wrote:

<snip>
> I believe I have found a fix to these problems.  The root cause of the 
> problem is the fact that the BIOS in question is not aligning the memory it 
> is assigning to the CardBus slots.  So the kernel is attempting to align it 
> on its own, but then another problem comes up because in this case there is 
> only 8K of memory available, and that is how much some of the cards need 
> (in some cases they need even more).  According to the yenta driver the 
> minimum amount of memory that should be allocated to each slot is 16K. 

Alec,

I can also confirm that my PCMCIA (Prism GT based, OvisLink PCM-5400PCM) card now gets recognized (in RICOH based PCI/PCMCIA adapter), and prism54 module loads fine (didn't do any heavy testing, just associated to AP).

I get this during boot (I presume this was expected :):

May  7 20:54:39 amber kernel: yenta 01:08.0: Preassigned resource start e2001000 end e2002fff too small or not aligned.
May  7 20:54:39 amber kernel: yenta 01:08.0: Preassigned resource start e2003000 end e2004fff too small or not aligned.

Thanks for figuring this one out, it certainly wasn't a simple one (well, I know I'd never figure it out :).

Vanja