Skip to content
Commit ad7ad57c authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling.



Fully unify all of the DMA ops so that subordinate bus types to
the DMA operation providers (such as ebus, isa, of_device) can
work transparently.

Basically, we just make sure that for every system device we
create, the dev->archdata 'iommu' and 'stc' fields are filled
in.

Then we have two platform variants of the DMA ops, one for SUN4U which
actually programs the real hardware, and one for SUN4V which makes
hypervisor calls.

This also fixes the crashes in parport_pc on sparc64, reported by
Meelis Roos.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c7f439b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment