Subject: Re: Intel 2200BG
To: Frank van der Linden <>
From: Manuel Bouyer <>
List: current-users
Date: 01/26/2005 23:09:37
On Wed, Jan 26, 2005 at 09:17:31PM +0100, Frank van der Linden wrote:
> Looking at the code, it looks like IWI_CB_MAXDATALEN is the maximum amount
> it can DMA. It's 8191, which is more than one page on most architectures.
> However, it also looks like on line 1558 of if_iwi.c, replacing
> IWI_CB_MAXDATALEN by PAGE_SIZE should work to limit the chunksize
> to one page (and, of course, increasing the index to segs[X].ds_addr
> if needed).
> That also eliminates the need for a seperate bus_dmamem_alloc-ed region;
> the driver can just allocate a VM stretch and use bus_dmamap_load on it,
> picking individual stretches from it.

It would be good to make this change ...

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference