Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __DSA_PDATA_H 3#define __DSA_PDATA_H 4 5struct device; 6 7#define DSA_MAX_PORTS 12 8 9struct dsa_chip_data { 10 /* 11 * Reference to network devices 12 */ 13 struct device *netdev[DSA_MAX_PORTS]; 14 15 /* set to size of eeprom if supported by the switch */ 16 int eeprom_len; 17 18 /* 19 * The names of the switch's ports. Use "cpu" to 20 * designate the switch port that the cpu is connected to, 21 * "dsa" to indicate that this port is a DSA link to 22 * another switch, NULL to indicate the port is unused, 23 * or any other string to indicate this is a physical port. 24 */ 25 char *port_names[DSA_MAX_PORTS]; 26}; 27 28#endif /* __DSA_PDATA_H */