diff options
| author | Kurt Kanzenbach <[email protected]> | 2021-03-22 19:51:13 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-22 18:02:10 -0700 |
| commit | 1ab568e92bf8f6a359c977869dc546a23a6b5f13 (patch) | |
| tree | c0c48a6b8a87f7f852797c56875a0944c778aca4 /include/linux/platform_data | |
| parent | 9a255a0635fedda1499635f1c324347b9600ce70 (diff) | |
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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/hirschmann-hellcreek.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/hirschmann-hellcreek.h b/include/linux/platform_data/hirschmann-hellcreek.h index 388846766bb2..6a000df5541f 100644 --- a/include/linux/platform_data/hirschmann-hellcreek.h +++ b/include/linux/platform_data/hirschmann-hellcreek.h @@ -12,6 +12,7 @@ #include <linux/types.h> struct hellcreek_platform_data { + const char *name; /* Switch name */ int num_ports; /* Amount of switch ports */ int is_100_mbits; /* Is it configured to 100 or 1000 mbit/s */ int qbv_support; /* Qbv support on front TSN ports */ |
