Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
665 B · 28 lines
C
at master
1234567891011121314151617181920212223242526272829/* 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 */