summaryrefslogtreecommitdiffstats
path: root/include/platform_data/eth-designware.h
blob: df00c5e64f6d9199172728c7c1d01e9512c417ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __DWC_UNIMAC_H
#define __DWC_UNIMAC_H

#include <linux/phy.h>

struct dwc_ether_platform_data {
	int phy_addr;
	phy_interface_t interface;
	void (*fix_mac_speed)(int speed);
	bool enh_desc;	/* use Alternate/Enhanced Descriptor configurations */
};

#endif