aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-01-12 13:04:50 +0100
committerJakub Kicinski <kuba@kernel.org>2020-01-12 12:59:53 -0800
commite45d0fad4a5f8c2d69084dbda98635adcd3f8478 (patch)
treeb0f3efc529c508f28e20c70a112e6adc4309dbf6 /drivers/net/ethernet/amd
parentARM/net: ixp4xx: Pass ethernet physical base as resource (diff)
downloadlinux-dev-e45d0fad4a5f8c2d69084dbda98635adcd3f8478.tar.xz
linux-dev-e45d0fad4a5f8c2d69084dbda98635adcd3f8478.zip
net: ethernet: ixp4xx: Use parent dev for DMA pool
Use the netdevice struct device .parent field when calling dma_pool_create(): the .dma_coherent_mask and .dma_mask pertains to the bus device on the hardware (platform) bus in this case, not the struct device inside the network device. This makes the pool allocation work. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/amd')
0 files changed, 0 insertions, 0 deletions