Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: which bus_dmamap_sync() ?



On Sat, Jun 21, 2008 at 02:51:47AM +0900, Izumi Tsutsui wrote:
> bouyer%antioche.eu.org@localhost wrote:
> 
> > can anyone tell me what bus_dmamap_sync() function port-macppc is using for
> > its PCI bus ? I've been looking at arch/macppc/ and arch/powerpc/ and
> > my conclusion is that bus_dmamap_sync() is a nop on port-macppc
> > (_dmamap_sync being NULL). Is this right ?
> 
> I think macppc is DMA coherent and it doesn't require bounce buffer xfer.
> (at least I haven't seen trouble caused by lack of bus_dmamap_sync(9))

I'm still working on adding bus_dmamap_sync() to USB. I added some
to ohci, and now it fails; while a kernel from yesterday boots.
Maybe I've just been unlucky, I've tried it only once (having to burn a CD-R
to boot a test kernel doesn't make things easy :(

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index