Re: [PATCH 2/2] Added leon3_dma_ops and LEON specific mmu_inval_dma_area.

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

 



From: Kristoffer Glembo <kristoffer@xxxxxxxxxxx>
Date: Wed, 04 Nov 2009 16:50:36 +0100

> Yeah I know. The leon3_dma_ops are copied from the pci32_dma_ops.
> I think only unmap_page was added basically. Why is there no
> pci32_unmap_page by the way? Maybe I can just add that and use
> them as is.

Basically because they are buggy and don't get much usage.

They are the worst thing to use as a model for your purposes
since that code gets the least amount of testing,  the SBUS
ones on the other hand get pretty much all of the sparc32
testing.

> The SBUS routines look quite different though. I will use the
> pci32_dma_ops.

I suggested the SBUS ones because they inherit the OpenFirmware
device node name into the resource.  They have also been cleaned
up substantially, the PCI ones are very messy still.

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux