]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0104b3b12d0586991341e19d631f3c7f51b42736
tree0b0823bc4ee56ecab2a14beca064a716785000fc
parent8c05e80ddd0caf9630a49b19ab047a8a2586c7e7
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