]> git.baikalelectronics.ru Git - kernel.git/commit
net: tsi108: Use DMA API properly
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Jan 2018 18:03:21 +0000 (19:03 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 18 Jan 2018 00:04:43 +0000 (18:04 -0600)
commitd809494a5a94742f0e34d652ad7a5e67fb4ccacb
treebe373632f718679410f36b09f597811195ffc65f
parente0498d7321712a327ff62f220396def6e9699721
net: tsi108: Use DMA API properly

We need to pass a struct device to the DMA API, even if some architectures
still support that for legacy reasons, and should not mix it with the old
PCI DMA API.

Note that the driver also seems to never actually unmap its DMA mappings,
but to fix that we'll need someone more familar with the driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/tundra/tsi108_eth.c