Subject: Re: bus_dmamap_ limitation
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: mike varga <mike.varga@cavium.com>
List: tech-kern
Date: 04/02/2002 14:08:56
Yes, but I did solve the problem.

It turns out that the isadma
driver which attaches after
my driver has a problem with
allocating dma buffers within
some region of memory. It is
forced to allocate above
what it typically does because
of what I require.

I am not sure what that is, and
I am not concerned since I do
not need it, although the floppy
drive does not work anymore.

An interrested party may
try looking at the parameters
that are passed into the various
bus_dmamem and bus_dmamap
functions.

----- Original Message -----
From: "Jaromir Dolecek" <jdolecek@netbsd.org>
To: "mike varga" <mike.varga@cavium.com>
Cc: <tech-kern@netbsd.org>
Sent: Tuesday, April 02, 2002 1:08 PM
Subject: Re: bus_dmamap_ limitation


> mike varga wrote:
> > I found that when I allocate
> > more than 1000, other drivers
> > will not attach successfully.
>
> Are you absolutely positive you need such a huge number of buffers
> for DMA?
>
> Jaromir
> --
> Jaromir Dolecek <jdolecek@NetBSD.org>
http://www.NetBSD.org/Ports/i386/ps2.html
> -=- We should be mindful of the potential goal, but as the tantric    -=-
> -=- Buddhist masters say, ``You may notice during meditation that you -=-
> -=- sometimes levitate or glow.   Do not let this distract you.''     -=-
>