1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) * !! 1 /* SPDX-License-Identifier: (GPL-2.0 or MIT) */ 2 /* 2 /* 3 * Hirschmann Hellcreek TSN switch platform da 3 * Hirschmann Hellcreek TSN switch platform data. 4 * 4 * 5 * Copyright (C) 2020 Linutronix GmbH 5 * Copyright (C) 2020 Linutronix GmbH 6 * Author Kurt Kanzenbach <kurt@linutronix.de> 6 * Author Kurt Kanzenbach <kurt@linutronix.de> 7 */ 7 */ 8 8 9 #ifndef _HIRSCHMANN_HELLCREEK_H_ 9 #ifndef _HIRSCHMANN_HELLCREEK_H_ 10 #define _HIRSCHMANN_HELLCREEK_H_ 10 #define _HIRSCHMANN_HELLCREEK_H_ 11 11 12 #include <linux/types.h> 12 #include <linux/types.h> 13 13 14 struct hellcreek_platform_data { 14 struct hellcreek_platform_data { 15 const char *name; /* Switch name << 16 int num_ports; /* Amount of s 15 int num_ports; /* Amount of switch ports */ 17 int is_100_mbits; /* Is it confi 16 int is_100_mbits; /* Is it configured to 100 or 1000 mbit/s */ 18 int qbv_support; /* Qbv support 17 int qbv_support; /* Qbv support on front TSN ports */ 19 int qbv_on_cpu_port; /* Qbv support 18 int qbv_on_cpu_port; /* Qbv support on the CPU port */ 20 int qbu_support; /* Qbu support 19 int qbu_support; /* Qbu support on front TSN ports */ 21 u16 module_id; /* Module iden 20 u16 module_id; /* Module identificaton */ 22 }; 21 }; 23 22 24 #endif /* _HIRSCHMANN_HELLCREEK_H_ */ 23 #endif /* _HIRSCHMANN_HELLCREEK_H_ */ 25 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.