diff options
Diffstat (limited to 'include/platform_data/eth-designware.h')
-rw-r--r-- | include/platform_data/eth-designware.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/platform_data/eth-designware.h b/include/platform_data/eth-designware.h new file mode 100644 index 0000000000..7a7a26abfd --- /dev/null +++ b/include/platform_data/eth-designware.h @@ -0,0 +1,13 @@ +#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 |