diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2016-07-17 16:09:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-20 02:01:33 +0300 |
commit | 3c78658e26b3bbb29f646416f52f4b4d875de471 (patch) | |
tree | 428572e849a6a40067bd32cadf6cbf4cf9429365 /drivers/net/ethernet/renesas | |
parent | 9345b24f9f257708201dfab2d36ad2a411a281b4 (diff) | |
download | linux-3c78658e26b3bbb29f646416f52f4b4d875de471.tar.xz |
sh_eth: fix DMA channel misreporting
Currently 'ifconfig' for the Ethernet devices handled by this driver shows
"DMA chan: ff" while the driver doesn't use any DMA channels. Not assigning
a value to 'net_device::dma' causes 'ifconfig' to correctly not report a
DMA channel.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas')
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index 04cd39f66cc9..7bd910ce8b34 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -2996,7 +2996,6 @@ static int sh_eth_drv_probe(struct platform_device *pdev) if (devno < 0) devno = 0; - ndev->dma = -1; ret = platform_get_irq(pdev, 0); if (ret < 0) goto out_release; |