summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/platform_data/macb.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/platform_data/macb.h')
-rw-r--r--kernel/include/linux/platform_data/macb.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/kernel/include/linux/platform_data/macb.h b/kernel/include/linux/platform_data/macb.h
index 044a124bf..21b15f6fe 100644
--- a/kernel/include/linux/platform_data/macb.h
+++ b/kernel/include/linux/platform_data/macb.h
@@ -8,11 +8,19 @@
#ifndef __MACB_PDATA_H__
#define __MACB_PDATA_H__
+/**
+ * struct macb_platform_data - platform data for MACB Ethernet
+ * @phy_mask: phy mask passed when register the MDIO bus
+ * within the driver
+ * @phy_irq_pin: PHY IRQ
+ * @is_rmii: using RMII interface?
+ * @rev_eth_addr: reverse Ethernet address byte order
+ */
struct macb_platform_data {
u32 phy_mask;
- int phy_irq_pin; /* PHY IRQ */
- u8 is_rmii; /* using RMII interface? */
- u8 rev_eth_addr; /* reverse Ethernet address byte order */
+ int phy_irq_pin;
+ u8 is_rmii;
+ u8 rev_eth_addr;
};
#endif /* __MACB_PDATA_H__ */