net: dsa: sja1105: implement .devlink_info_get
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 25 Sep 2020 23:04:21 +0000 (02:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 23:35:27 +0000 (16:35 -0700)
commitff4cf8eae0a316a09bfff2eb281caa58354be6d3
tree0260a30ff8b491c3fd6ca70267ff2935ceef9de4
parentbf425b82059e0b0752c0026353c1902112200837
net: dsa: sja1105: implement .devlink_info_get

Return the driver name and ASIC ID so that generic user space
application are able to know they're looking at sja1105 devlink regions
when pretty-printing them.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105.h
drivers/net/dsa/sja1105/sja1105_devlink.c
drivers/net/dsa/sja1105/sja1105_main.c