]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: dsa: wire up devlink info get
authorAndrew Lunn <andrew@lunn.ch>
Fri, 18 Sep 2020 19:11:08 +0000 (21:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 01:18:30 +0000 (18:18 -0700)
commit0f06b855a93c3b449253b91abc94c4d483af0a44
tree451740526293fd3769816dc06cd41a95bf7ab7e4
parentbfb255428966e2ab2c406cf6c71d95e9e63241e4
net: dsa: wire up devlink info get

Allow the DSA drivers to implement the devlink call to get info info,
e.g. driver name, firmware version, ASIC ID, etc.

v2:
Combine declaration and the assignment on a single line.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa2.c