WSL2-Linux-Kernel/drivers/net/ethernet/xscale
Linus Walleij e45d0fad4a 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>
2020-01-12 12:59:53 -08:00
..
Kconfig ptp: ixp46x: move adjacent to ethernet driver 2020-01-12 12:59:52 -08:00
Makefile ptp: ixp46x: move adjacent to ethernet driver 2020-01-12 12:59:52 -08:00
ixp4xx_eth.c net: ethernet: ixp4xx: Use parent dev for DMA pool 2020-01-12 12:59:53 -08:00
ixp46x_ts.h ixp4xx_eth: move platform_data definition 2020-01-12 12:59:53 -08:00
ptp_ixp46x.c ptp: ixp46x: move adjacent to ethernet driver 2020-01-12 12:59:52 -08:00