swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 7daf201d7fe8334e2d2364d4e8ed3394ec9af819 authored by Linus Torvalds on 24 June 2018, 12:54:29 UTC
Linux 4.18-rc2
Tip revision: 7daf201
mv88e6xxx.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __DSA_MV88E6XXX_H
#define __DSA_MV88E6XXX_H

#include <net/dsa.h>

struct dsa_mv88e6xxx_pdata {
	/* Must be first, such that dsa_register_switch() can access this
	 * without gory pointer manipulations
	 */
	struct dsa_chip_data cd;
	const char *compatible;
	unsigned int enabled_ports;
	struct net_device *netdev;
	u32 eeprom_len;
};

#endif
back to top