sja1105.h (bfcf1425222008e7390c0784b0f3bb7b497fccaa) | sja1105.h (22ee9f8e4011fb8a6d75dc2f9a43360d4f400235) |
---|---|
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> --- 247 unchanged lines hidden (view full) --- 256 struct dsa_switch *ds; 257 u16 bridge_pvid[SJA1105_MAX_NUM_PORTS]; 258 u16 tag_8021q_pvid[SJA1105_MAX_NUM_PORTS]; 259 struct sja1105_flow_block flow_block; 260 /* Serializes transmission of management frames so that 261 * the switch doesn't confuse them with one another. 262 */ 263 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> --- 247 unchanged lines hidden (view full) --- 256 struct dsa_switch *ds; 257 u16 bridge_pvid[SJA1105_MAX_NUM_PORTS]; 258 u16 tag_8021q_pvid[SJA1105_MAX_NUM_PORTS]; 259 struct sja1105_flow_block flow_block; 260 /* Serializes transmission of management frames so that 261 * the switch doesn't confuse them with one another. 262 */ 263 struct mutex mgmt_lock; |
264 /* PTP two-step TX timestamp ID, and its serialization lock */ 265 spinlock_t ts_id_lock; 266 u8 ts_id; |
|
264 /* Serializes access to the dynamic config interface */ 265 struct mutex dynamic_config_lock; 266 struct devlink_region **regions; 267 struct sja1105_cbs_entry *cbs; 268 struct mii_bus *mdio_base_t1; 269 struct mii_bus *mdio_base_tx; 270 struct mii_bus *mdio_pcs; 271 struct dw_xpcs *xpcs[SJA1105_MAX_NUM_PORTS]; --- 145 unchanged lines hidden --- | 267 /* Serializes access to the dynamic config interface */ 268 struct mutex dynamic_config_lock; 269 struct devlink_region **regions; 270 struct sja1105_cbs_entry *cbs; 271 struct mii_bus *mdio_base_t1; 272 struct mii_bus *mdio_base_tx; 273 struct mii_bus *mdio_pcs; 274 struct dw_xpcs *xpcs[SJA1105_MAX_NUM_PORTS]; --- 145 unchanged lines hidden --- |