]> 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)
commitdfe7ea6f13cc3ee32762cfd01f638a12349de69f
tree451740526293fd3769816dc06cd41a95bf7ab7e4
parent335c03eec7fba285b5914fe01d72d96976980f13
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