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>
This commit is contained in:

committed by
David S. Miller

parent
7555001546
commit
1942e48225
@@ -55,6 +55,10 @@ struct bcm63xx_enet_platform_data {
|
||||
|
||||
/* DMA descriptor shift */
|
||||
unsigned int dma_desc_shift;
|
||||
|
||||
/* dma channel ids */
|
||||
int rx_chan;
|
||||
int tx_chan;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user