summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/platform_data/bcmgenet.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/platform_data/bcmgenet.h')
-rw-r--r--kernel/include/linux/platform_data/bcmgenet.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/include/linux/platform_data/bcmgenet.h b/kernel/include/linux/platform_data/bcmgenet.h
new file mode 100644
index 000000000..26af54321
--- /dev/null
+++ b/kernel/include/linux/platform_data/bcmgenet.h
@@ -0,0 +1,18 @@
+#ifndef __LINUX_PLATFORM_DATA_BCMGENET_H__
+#define __LINUX_PLATFORM_DATA_BCMGENET_H__
+
+#include <linux/types.h>
+#include <linux/if_ether.h>
+#include <linux/phy.h>
+
+struct bcmgenet_platform_data {
+ bool mdio_enabled;
+ phy_interface_t phy_interface;
+ int phy_address;
+ int phy_speed;
+ int phy_duplex;
+ u8 mac_address[ETH_ALEN];
+ int genet_version;
+};
+
+#endif