]> git.baikalelectronics.ru Git - 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)
commita8f683c6e45832d7d608731bed05c5e1c55d2968
tree451740526293fd3769816dc06cd41a95bf7ab7e4
parent65c424bf6a37889e71d6070283bd2105e80ceae7
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