tested on a custom board with two Marvell 88E6095 switches with
following corresponding routing tables: { -1, 10 } and { 8, -1 }.
Signed-off-by: Pavel Nakonechny
Reviewed-by: Andrew Lunn
---
Documentation/devicetree/bindings/net/dsa/dsa.txt | 4 +++-
net/dsa/dsa.c
Hi Andrew
В письме от 4 апреля 2015 18:38:14 пользователь Andrew Lunn написал:
> There is the code after applying your patch:
>
> static int dsa_of_setup_routing_table(struct dsa_platform_data *pd,
> struct dsa_chip_data *cd,
>
now just
looks for target switch number by parsing parent of 'link' device node.
This was tested on custom board with two Marvell 88E6095 switches with
following corresponding rtables: { -1, 10 } and { 8, -1 }.
Signed-off-by: Pavel Nakonechny
---
net/dsa/dsa.c | 19 +++-
3 matches
Mail list logo