Subject: Re: Intel 2200BG
To: Mihai CHELARU <>
From: Frank van der Linden <>
List: current-users
Date: 01/26/2005 17:16:19
On Wed, Jan 26, 2005 at 05:35:17PM +0200, Mihai CHELARU wrote:
> iwi0: could allocate firmware DMA memory
> iwi0: could not load main firmware

It looks like the iwi driver allocates DMA memory in iwi_init(), which
is called at runtime. But, by then, memory may be too fragmented to
get a decent DMA memory chunk.

Also, iwi_init() allocates that memory every time, which is a waste.

What it should do, is allocate the DMA memory for the firmware upload
on attach, and just keep it around for reuse whenever the firmware
needs to be loaded.

Reloading the firmware for every init (which is for every interface up/down),
seems heavy-handed.. but I don't know much about this card itself.

- Frank