mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
1ab568e92b
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>
25 lines
719 B
C
25 lines
719 B
C
/* SPDX-License-Identifier: (GPL-2.0 or MIT) */
|
|
/*
|
|
* Hirschmann Hellcreek TSN switch platform data.
|
|
*
|
|
* Copyright (C) 2020 Linutronix GmbH
|
|
* Author Kurt Kanzenbach <kurt@linutronix.de>
|
|
*/
|
|
|
|
#ifndef _HIRSCHMANN_HELLCREEK_H_
|
|
#define _HIRSCHMANN_HELLCREEK_H_
|
|
|
|
#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 */
|
|
int qbv_on_cpu_port; /* Qbv support on the CPU port */
|
|
int qbu_support; /* Qbu support on front TSN ports */
|
|
u16 module_id; /* Module identificaton */
|
|
};
|
|
|
|
#endif /* _HIRSCHMANN_HELLCREEK_H_ */
|