This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
If i need a supportet microcontroller with a new ethernet PHY...
- From: "Oliver Munz @ SNR" <oli at snr dot ch>
- To: "ecos-devel at sourceware dot org" <ecos-devel at sourceware dot org>
- Date: Wed, 22 Oct 2008 16:59:45 +0200
- Subject: If i need a supportet microcontroller with a new ethernet PHY...
- Organization: SNR
- Reply-to: oli at snr dot ch
... 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()?