aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio_device.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-02-15 09:30:28 +0100
committerChristoph Hellwig <hch@lst.de>2019-02-20 07:29:10 -0700
commit24132a419c68f1d69eb8ecc91b3c80d730ecbb59 (patch)
treee9bf0b2d4290cedc1884cfed177ed0587bd843a8 /drivers/net/phy/mdio_device.c
parentsparc64/iommu: allow large DMA masks (diff)
downloadlinux-dev-24132a419c68f1d69eb8ecc91b3c80d730ecbb59.tar.xz
linux-dev-24132a419c68f1d69eb8ecc91b3c80d730ecbb59.zip
sparc64/pci_sun4v: allow large DMA masks
We've been moving to a model where the device just sets the DMA mask supported by it, instead of having to fallback to something it thinks the platform might support. Sparc64 is the remaining holdout forcing drivers to supply a matching mask. Change dma_4v_supported to just check if the supplied dma mask is large enough. and adjust the mapping code to check ATU presence in addition to the DMA mask to decide on the mapping method. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio_device.c')
0 files changed, 0 insertions, 0 deletions