Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __DSA_LOOP_H
 3#define __DSA_LOOP_H
 4
 5struct dsa_chip_data;
 6
 7struct dsa_loop_pdata {
 8	/* Must be first, such that dsa_register_switch() can access this
 9	 * without gory pointer manipulations
10	 */
11	struct dsa_chip_data cd;
12	const char *name;
13	unsigned int enabled_ports;
14	const char *netdev;
15};
16
17#define DSA_LOOP_NUM_PORTS	6
18#define DSA_LOOP_CPU_PORT	(DSA_LOOP_NUM_PORTS - 1)
19
20#endif /* __DSA_LOOP_H */
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __DSA_LOOP_H
 3#define __DSA_LOOP_H
 4
 5struct dsa_chip_data;
 6
 7struct dsa_loop_pdata {
 8	/* Must be first, such that dsa_register_switch() can access this
 9	 * without gory pointer manipulations
10	 */
11	struct dsa_chip_data cd;
12	const char *name;
13	unsigned int enabled_ports;
14	const char *netdev;
15};
16
17#define DSA_LOOP_NUM_PORTS	6
18#define DSA_LOOP_CPU_PORT	(DSA_LOOP_NUM_PORTS - 1)
19
20#endif /* __DSA_LOOP_H */