linux_dsm_epyc7002/drivers/net/ethernet/hisilicon
Jiangfeng Xiao 96a50c0d90 net: hisilicon: Fix dma_map_single failed on arm64
On the arm64 platform, executing "ifconfig eth0 up" will fail,
returning "ifconfig: SIOCSIFFLAGS: Input/output error."

ndev->dev is not initialized, dma_map_single->get_dma_ops->
dummy_dma_ops->__dummy_map_page will return DMA_ERROR_CODE
directly, so when we use dma_map_single, the first parameter
is to use the device of platform_device.

Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-06 14:14:01 -07:00
..
hns Revert "net: hns: fix LED configuration for marvell phy" 2019-07-22 20:44:48 -07:00
hns3 net: hns3: typo in the name of a constant 2019-07-21 11:46:31 -07:00
hip04_eth.c net: hisilicon: Fix dma_map_single failed on arm64 2019-08-06 14:14:01 -07:00
hisi_femac.c net: hisilicon: Use devm_platform_ioremap_resource 2019-07-12 15:37:18 -07:00
hix5hd2_gmac.c net: hisilicon: Use devm_platform_ioremap_resource 2019-07-12 15:37:18 -07:00
hns_mdio.c net: hisilicon: Use devm_platform_ioremap_resource 2019-07-12 15:37:18 -07:00
Kconfig net: hisilicon: Add support for HI13X1 to hip04_eth 2019-07-09 14:29:26 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00