bcm63xx_enet: use platform data for dma channel numbers
authorJonas Gorski <jonas.gorski@gmail.com>
Sun, 17 Dec 2017 16:02:53 +0000 (17:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Dec 2017 16:07:16 +0000 (11:07 -0500)
commit1942e482258d8cfec9606156cafc6fd1a871f4d5
tree0b0823bc4ee56ecab2a14beca064a716785000fc
parent7555001546bac9247e893d84236365a205f2bad2
bcm63xx_enet: use platform data for dma channel numbers

To reduce the reliance on device ids, pass the dma channel numbers to
the enet devices as platform data.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/mips/bcm63xx/dev-enet.c
arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_enet.h
drivers/net/ethernet/broadcom/bcm63xx_enet.c