Re: [PATCH] RFC: kills consistent_dma_mask

Jes Sorensen
2003-08-25T08:47:52Z

>>>>> "Krzysztof" == Krzysztof Halasa <khc@pm.waw.pl> writes:

Krzysztof> There is one big problem with current API: the DMA (struct
Krzysztof> driver) API does not have consistent_dma_mask. If the PCI
Krzysztof> API is implemented on top of DMA API, it can't be correct
Krzysztof> (and, obviously, DMA API on top of PCI API can't be correct
Krzysztof> either). So, if we insist on keeping consistent_dma_mask in
Krzysztof> pci_dev structure, we need to add it to DMA API as
Krzysztof> well. There is no trivial change which can fix this
Krzysztof> problem.

So why are we dancing around the thing like this, the problem is sooo
bloody simple. Add consistent_dma_mask to the DMA API as well. I
already spoke to James briefly about this earlier and he didn't sound
like had anything against us adding this feature there.

Jes