sja1105.h (bf4edf4afb87e67bed8678c09a01110148830483) | sja1105.h (91a050782cbfc8f81c7c6aa0c5ce396bea51df3b) |
---|---|
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> --- 97 unchanged lines hidden (view full) --- 106 int (*fdb_add_cmd)(struct dsa_switch *ds, int port, 107 const unsigned char *addr, u16 vid); 108 int (*fdb_del_cmd)(struct dsa_switch *ds, int port, 109 const unsigned char *addr, u16 vid); 110 void (*ptp_cmd_packing)(u8 *buf, struct sja1105_ptp_cmd *cmd, 111 enum packing_op op); 112 int (*clocking_setup)(struct sja1105_private *priv); 113 const char *name; | 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> --- 97 unchanged lines hidden (view full) --- 106 int (*fdb_add_cmd)(struct dsa_switch *ds, int port, 107 const unsigned char *addr, u16 vid); 108 int (*fdb_del_cmd)(struct dsa_switch *ds, int port, 109 const unsigned char *addr, u16 vid); 110 void (*ptp_cmd_packing)(u8 *buf, struct sja1105_ptp_cmd *cmd, 111 enum packing_op op); 112 int (*clocking_setup)(struct sja1105_private *priv); 113 const char *name; |
114 bool supports_mii[SJA1105_MAX_NUM_PORTS]; 115 bool supports_rmii[SJA1105_MAX_NUM_PORTS]; 116 bool supports_rgmii[SJA1105_MAX_NUM_PORTS]; 117 bool supports_sgmii[SJA1105_MAX_NUM_PORTS]; 118 bool supports_2500basex[SJA1105_MAX_NUM_PORTS]; |
|
114}; 115 116enum sja1105_key_type { 117 SJA1105_KEY_BCAST, 118 SJA1105_KEY_TC, 119 SJA1105_KEY_VLAN_UNAWARE_VL, 120 SJA1105_KEY_VLAN_AWARE_VL, 121}; --- 243 unchanged lines hidden --- | 119}; 120 121enum sja1105_key_type { 122 SJA1105_KEY_BCAST, 123 SJA1105_KEY_TC, 124 SJA1105_KEY_VLAN_UNAWARE_VL, 125 SJA1105_KEY_VLAN_AWARE_VL, 126}; --- 243 unchanged lines hidden --- |