Subject: noncontingous DMA segments with mc0 at obio
To: None <port-mac68k@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: port-mac68k
Date: 12/09/2006 22:59:46
Hi folks,

after some hardware troubles I got my "brand new" Quadra 660AV booting
NetBSD for the first time.

The 4.0 install kernel fails to attach mc0 at obio, due to physically non
contingous memory returned by malloc. See the comment in obio/if_mc_obio.c
around line 140.

I can rebuild my own install kernel, as suggest with only two rx DMA buffers.
I could even try to convert this driver to bus_dma ;-)

But I primarily wonder if this is a common effect, and wether the install
kernels should be build with options MC_RXDMABUFS=2 to work around it.

Martin