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)
commitc08fa1608ddbf21a00ce4da54b0d90635cf5c1de
treebe373632f718679410f36b09f597811195ffc65f
parent8d669f93b4b1405946af77a155c1df4fe1b526b1
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