]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Export cross-chip PVT as devlink region
authorTobias Waldekranz <tobias@waldekranz.com>
Wed, 21 Apr 2021 12:04:54 +0000 (14:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2021 17:25:09 +0000 (10:25 -0700)
commit7720f236583410f5a8302214c352434c8661e147
tree0806b992d88b6f127af8b71d009c77128502c848
parentc6593510e0f83d3835e8f71616b64d5f46455993
net: dsa: mv88e6xxx: Export cross-chip PVT as devlink region

Export the raw PVT data in a devlink region so that it can be
inspected from userspace and compared to the current bridge
configuration.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/devlink.c
drivers/net/dsa/mv88e6xxx/global2.c
drivers/net/dsa/mv88e6xxx/global2.h