diff options
Diffstat (limited to 'include/linux/fsl_devices.h')
-rw-r--r-- | include/linux/fsl_devices.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index abb64c437f6f..73710d617775 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h | |||
@@ -120,44 +120,5 @@ struct fsl_spi_platform_data { | |||
120 | u32 sysclk; | 120 | u32 sysclk; |
121 | }; | 121 | }; |
122 | 122 | ||
123 | /* Ethernet interface (phy management and speed) | ||
124 | */ | ||
125 | enum enet_interface { | ||
126 | ENET_10_MII, /* 10 Base T, MII interface */ | ||
127 | ENET_10_RMII, /* 10 Base T, RMII interface */ | ||
128 | ENET_10_RGMII, /* 10 Base T, RGMII interface */ | ||
129 | ENET_100_MII, /* 100 Base T, MII interface */ | ||
130 | ENET_100_RMII, /* 100 Base T, RMII interface */ | ||
131 | ENET_100_RGMII, /* 100 Base T, RGMII interface */ | ||
132 | ENET_1000_GMII, /* 1000 Base T, GMII interface */ | ||
133 | ENET_1000_RGMII, /* 1000 Base T, RGMII interface */ | ||
134 | ENET_1000_TBI, /* 1000 Base T, TBI interface */ | ||
135 | ENET_1000_RTBI /* 1000 Base T, RTBI interface */ | ||
136 | }; | ||
137 | |||
138 | struct ucc_geth_platform_data { | ||
139 | /* device specific information */ | ||
140 | u32 device_flags; | ||
141 | u32 phy_reg_addr; | ||
142 | |||
143 | /* board specific information */ | ||
144 | u32 board_flags; | ||
145 | u8 rx_clock; | ||
146 | u8 tx_clock; | ||
147 | u32 phy_id; | ||
148 | enum enet_interface phy_interface; | ||
149 | u32 phy_interrupt; | ||
150 | u8 mac_addr[6]; | ||
151 | }; | ||
152 | |||
153 | /* Flags related to UCC Gigabit Ethernet device features */ | ||
154 | #define FSL_UGETH_DEV_HAS_GIGABIT 0x00000001 | ||
155 | #define FSL_UGETH_DEV_HAS_COALESCE 0x00000002 | ||
156 | #define FSL_UGETH_DEV_HAS_RMON 0x00000004 | ||
157 | |||
158 | /* Flags in ucc_geth_platform_data */ | ||
159 | #define FSL_UGETH_BRD_HAS_PHY_INTR 0x00000001 | ||
160 | /* if not set use a timer */ | ||
161 | |||
162 | #endif /* _FSL_DEVICE_H_ */ | 123 | #endif /* _FSL_DEVICE_H_ */ |
163 | #endif /* __KERNEL__ */ | 124 | #endif /* __KERNEL__ */ |