File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
features/net/FEATURE_IPV4/lwip-interface/lwip-eth/arch/TARGET_STM Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -131,23 +131,6 @@ static void _eth_arch_low_level_init(struct netif *netif)
131
131
132
132
/* Enable MAC and DMA transmission and reception */
133
133
HAL_ETH_Start (& EthHandle );
134
-
135
- /**** Configure PHY to generate an interrupt when Eth Link state changes ****/
136
- /* Read Register Configuration */
137
- HAL_ETH_ReadPHYRegister (& EthHandle , PHY_MICR , & regvalue );
138
-
139
- regvalue |= (PHY_MICR_INT_EN | PHY_MICR_INT_OE );
140
-
141
- /* Enable Interrupts */
142
- HAL_ETH_WritePHYRegister (& EthHandle , PHY_MICR , regvalue );
143
-
144
- /* Read Register Configuration */
145
- HAL_ETH_ReadPHYRegister (& EthHandle , PHY_MISR , & regvalue );
146
-
147
- regvalue |= PHY_MISR_LINK_INT_EN ;
148
-
149
- /* Enable Interrupt on change of link status */
150
- HAL_ETH_WritePHYRegister (& EthHandle , PHY_MISR , regvalue );
151
134
#endif
152
135
}
153
136
You can’t perform that action at this time.
0 commit comments