Skip to contentSkip to conversation

ioport.c

DISCUSSION Kristoffer Glembo 1 participant 1 message Nov 27, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I'm adding LEON support for the DMA-API into ioport.c and at the same time wanting to clean things up somewhat.

One thing that bugs me a little bit is this one:

#define mmu_inval_dma_area(p, l)/* Anton pulled it out for 2.4.0-xx */

It seems this was never implemented. I'm not sure which machines needs to invalidate the cache after DMA but LEON needs it in some configurations and as far as I understand the microsparc IIep needs it as well. I'm not so familiar with where this chip is used but the JavaStation (Krups) uses it and has the Sun HappyMeal ethernet card doing DMA from the PCI bus.

Can anyone explain why this was never implemented and instead removed? Is it not needed even on the IIep ?

Best regards,
Kristoffer