net: dsa: hellcreek: Report switch name and ID
authorKurt Kanzenbach <kurt@kmk-computers.de>
Mon, 22 Mar 2021 18:51:13 +0000 (19:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Mar 2021 01:02:10 +0000 (18:02 -0700)
commit1ab568e92bf8f6a359c977869dc546a23a6b5f13
treec0c48a6b8a87f7f852797c56875a0944c778aca4
parent9a255a0635fedda1499635f1c324347b9600ce70
net: dsa: hellcreek: Report switch name and ID

Report the driver name, ASIC ID and the switch name via devlink. This is a
useful information for user space tooling.

Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/hirschmann/hellcreek.c
include/linux/platform_data/hirschmann-hellcreek.h