summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/mdio-bcm-unimac.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/mdio-bcm-unimac.h')
-rw-r--r--include/linux/platform_data/mdio-bcm-unimac.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/platform_data/mdio-bcm-unimac.h b/include/linux/platform_data/mdio-bcm-unimac.h
new file mode 100644
index 000000000..8a5f9f0b2
--- /dev/null
+++ b/include/linux/platform_data/mdio-bcm-unimac.h
@@ -0,0 +1,13 @@
+#ifndef __MDIO_BCM_UNIMAC_PDATA_H
+#define __MDIO_BCM_UNIMAC_PDATA_H
+
+struct unimac_mdio_pdata {
+ u32 phy_mask;
+ int (*wait_func)(void *data);
+ void *wait_func_data;
+ const char *bus_name;
+};
+
+#define UNIMAC_MDIO_DRV_NAME "unimac-mdio"
+
+#endif /* __MDIO_BCM_UNIMAC_PDATA_H */