[ECOS] Ethernet PHY board specific configuration

Christophe Coutand ccoutand@stmi.com
Tue Mar 1 10:37:00 GMT 2011


My experience is that the PHY API of eCos only let you retrieve the PHY
state (Link Mode) using _eth_phy_state() which you can further use for
setting your MAC layer. If you should handle any specific link
configuration or act on link mode change (from interrupt), you must
write you own configuration function. _eth_phy_cfg seems to be a generic
function which should be propagated to _eth_phy_dev_entry to have more
flexibility.

Christophe

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Martin
Laabs
Sent: 28. februar 2011 12:37
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Ethernet PHY board specific configuration

Hello,

my eCos port to the AT91SAM9 family is mostly done. Now I want to
configure 
the ethernet phy after it is recognized by ecos and before the MAC
begins 
transmitting data. The cause is to configure the auto-negotiation mode
and 
LED settings.
As far as I know there is no such macro or callback defined yet. Is this

correct and where should I add such a macro?

Thank you,
  Martin Laabs


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list