]> Git Repo - linux.git/commit
pcnet32: use pci_set_dma_mask insted of pci_dma_supported
authorChristoph Hellwig <[email protected]>
Tue, 10 Nov 2015 22:45:17 +0000 (14:45 -0800)
committerLinus Torvalds <[email protected]>
Wed, 11 Nov 2015 00:32:11 +0000 (16:32 -0800)
commit46a7fd8a9b302116b3263bc8e47f8f08c0d3a2ca
tree6dbe7689cd5772228503b92821f225bc5e5f48a6
parent3368e8fbcda539e4f9d6cdb750f23c25021698c9
pcnet32: use pci_set_dma_mask insted of pci_dma_supported

All drivers should be using dma_set_mask / pci_set_dma_mask to try to
set the dma mask instead of just querying it.  Without that some iommu
implementations may not work.

pci_dma_supported is removed entirely, but dma_supported stays for
dma_ops implementations for now.

This patch (of 15):

This ensures the dma mask that is supported by the driver is recorded
in the device structure.

Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Don Fry <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: Alexey Khoroshilov <[email protected]>
Cc: Ben Skeggs <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Hans Verkuil <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Pawel Osciak <[email protected]>
Cc: Sakari Ailus <[email protected]>
Cc: Sergey Kozlov <[email protected]>
Cc: Shradha Shah <[email protected]>
Cc: Solarflare linux maintainers <[email protected]>
Cc: Steven Toth <[email protected]>
Cc: Thierry Reding <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/net/ethernet/amd/pcnet32.c
This page took 0.054614 seconds and 4 git commands to generate.