sja1105.h (73be7fb14e83d24383f840a22f24d3ed222ca319) | sja1105.h (ea32690daf4fa525dc5a4d164bd00ed8c756e1c6) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) 2018, Sensor-Technik Wiedemann GmbH 3 * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com> 4 */ 5#ifndef _SJA1105_H 6#define _SJA1105_H 7 8#include <linux/ptp_clock_kernel.h> --- 252 unchanged lines hidden (view full) --- 261 struct dsa_switch *ds; 262 u16 bridge_pvid[SJA1105_MAX_NUM_PORTS]; 263 u16 tag_8021q_pvid[SJA1105_MAX_NUM_PORTS]; 264 struct sja1105_flow_block flow_block; 265 /* Serializes transmission of management frames so that 266 * the switch doesn't confuse them with one another. 267 */ 268 struct mutex mgmt_lock; | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) 2018, Sensor-Technik Wiedemann GmbH 3 * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com> 4 */ 5#ifndef _SJA1105_H 6#define _SJA1105_H 7 8#include <linux/ptp_clock_kernel.h> --- 252 unchanged lines hidden (view full) --- 261 struct dsa_switch *ds; 262 u16 bridge_pvid[SJA1105_MAX_NUM_PORTS]; 263 u16 tag_8021q_pvid[SJA1105_MAX_NUM_PORTS]; 264 struct sja1105_flow_block flow_block; 265 /* Serializes transmission of management frames so that 266 * the switch doesn't confuse them with one another. 267 */ 268 struct mutex mgmt_lock; |
269 /* Serializes accesses to the FDB */ 270 struct mutex fdb_lock; |
|
269 /* PTP two-step TX timestamp ID, and its serialization lock */ 270 spinlock_t ts_id_lock; 271 u8 ts_id; 272 /* Serializes access to the dynamic config interface */ 273 struct mutex dynamic_config_lock; 274 struct devlink_region **regions; 275 struct sja1105_cbs_entry *cbs; 276 struct mii_bus *mdio_base_t1; --- 148 unchanged lines hidden --- | 271 /* PTP two-step TX timestamp ID, and its serialization lock */ 272 spinlock_t ts_id_lock; 273 u8 ts_id; 274 /* Serializes access to the dynamic config interface */ 275 struct mutex dynamic_config_lock; 276 struct devlink_region **regions; 277 struct sja1105_cbs_entry *cbs; 278 struct mii_bus *mdio_base_t1; --- 148 unchanged lines hidden --- |