net: dsa: mv88e6xxx: Implement devlink info get callback
authorAndrew Lunn <andrew@lunn.ch>
Fri, 18 Sep 2020 19:11:09 +0000 (21:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 01:18:30 +0000 (18:18 -0700)
commit93157307f7b4e11232d972d325ab688f1a08f487
treec7ec78419603ec1867d8f6a4361e4ba6dd2253b0
parent0f06b855a93c3b449253b91abc94c4d483af0a44
net: dsa: mv88e6xxx: Implement devlink info get callback

Return the driver name and the asic.id with the switch name.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/devlink.c
drivers/net/dsa/mv88e6xxx/devlink.h