Subject: Re: Intel 2200BG
To: Manuel Bouyer <email@example.com>
From: Frank van der Linden <firstname.lastname@example.org>
Date: 01/26/2005 23:49:46
On Wed, Jan 26, 2005 at 11:09:37PM +0100, Manuel Bouyer wrote:
> > 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 ...
..and oh yeah, there need to be bus_dmamap_sync calls in there (in both
the old and new version).