mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
![Kurt Kanzenbach](/assets/img/avatar_default.png)
Add a basic DSA driver for Hirschmann Hellcreek switches. Those switches are implementing features needed for Time Sensitive Networking (TSN) such as support for the Time Precision Protocol and various shapers like the Time Aware Shaper. This driver includes basic support for networking: * VLAN handling * FDB handling * Port statistics * STP * Phylink Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
23 lines
682 B
C
23 lines
682 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 {
|
|
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_ */
|