sh_eth: fix DMA channel misreporting
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 17 Jul 2016 13:09:19 +0000 (16:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2016 23:01:33 +0000 (16:01 -0700)
commit3c78658e26b3bbb29f646416f52f4b4d875de471
tree428572e849a6a40067bd32cadf6cbf4cf9429365
parent9345b24f9f257708201dfab2d36ad2a411a281b4
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>
drivers/net/ethernet/renesas/sh_eth.c