s390/dma: Allow per device dma ops
As virtio-ccw now has dma ops, we can no longer default to the PCI ones.
Make use of dev_archdata to keep the dma_ops per device. The pci devices
now use that to override the default, and the default is changed to use
the noop ops for everything that is not PCI. To compile without PCI
support we also have to enable the DMA api with virtio.
Signed-off-by: Christian Borntraeger <firstname.lastname@example.org>
Reviewed-by: Joerg Roedel <email@example.com>
Acked-by: Sebastian Ott <firstname.lastname@example.org>
5 files changed