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: Mon,  2 Nov 2009 15:28:12 +0100

> Added mmu_inval_dma_area for LEON which flushes dcache if snooping
> is not enabled and created LEON specific dma_ops.

This is a lot of code duplication for what you're trying to
accomplish I think.

And now that your drivers will use OpenFirmware driver interfaces
that's yet another difference you no longer have to account for.

I would suggest that you crib the SBUS routines and parameterize
them cleanly for the small differences your LEON cases needs.

Thanks.
--
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