mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-05-05 09:57:21 +02:00
c3b09190e6
Pretty self-explanatory, nobody needs these. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://patch.msgid.link/20260406212158.721806-4-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
29 lines
665 B
C
29 lines
665 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __DSA_PDATA_H
|
|
#define __DSA_PDATA_H
|
|
|
|
struct device;
|
|
|
|
#define DSA_MAX_PORTS 12
|
|
|
|
struct dsa_chip_data {
|
|
/*
|
|
* Reference to network devices
|
|
*/
|
|
struct device *netdev[DSA_MAX_PORTS];
|
|
|
|
/* set to size of eeprom if supported by the switch */
|
|
int eeprom_len;
|
|
|
|
/*
|
|
* The names of the switch's ports. Use "cpu" to
|
|
* designate the switch port that the cpu is connected to,
|
|
* "dsa" to indicate that this port is a DSA link to
|
|
* another switch, NULL to indicate the port is unused,
|
|
* or any other string to indicate this is a physical port.
|
|
*/
|
|
char *port_names[DSA_MAX_PORTS];
|
|
};
|
|
|
|
#endif /* __DSA_PDATA_H */
|