Skip to content

Commit 9345b24

Browse files
Sergei Shtylyovdavem330
authored andcommitted
ravb: 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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent eab8146 commit 9345b24

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/renesas/ravb_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,6 @@ static int ravb_probe(struct platform_device *pdev)
19081908

19091909
/* The Ether-specific entries in the device structure. */
19101910
ndev->base_addr = res->start;
1911-
ndev->dma = -1;
19121911

19131912
chip_id = (enum ravb_chip_id)of_device_get_match_data(&pdev->dev);
19141913

0 commit comments

Comments
 (0)