... then i have to rewrite the void hal_plf_eth_init(void). I can make a new platform-variant for this, but may be there is a better solution like: make the hal_plf_eth_init PHY-dependent or make it configurable defined as external or something like this...

The problem is, that every PHY has other initalisation requirements. And furthermore its a question of the concrete hardware what the CPU has to do to bring it to work. So the hal_plf_eth_init depens on the PHY, the ethernet and microcontroller and the concret circuit...

What is the best way to use a special hal_plf_eth_init()?

Reply via email to