]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob - include/linux/platform_data/bcmgenet.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / include / linux / platform_data / bcmgenet.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_PLATFORM_DATA_BCMGENET_H__
3 #define __LINUX_PLATFORM_DATA_BCMGENET_H__
4
5 #include <linux/types.h>
6 #include <linux/if_ether.h>
7 #include <linux/phy.h>
8
9 struct bcmgenet_platform_data {
10 bool mdio_enabled;
11 phy_interface_t phy_interface;
12 int phy_address;
13 int phy_speed;
14 int phy_duplex;
15 u8 mac_address[ETH_ALEN];
16 int genet_version;
17 };
18
19 #endif