This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Ethernet PHY board specific configuration
- From: "Christophe Coutand" <ccoutand at stmi dot com>
- To: "eCos Discuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 1 Mar 2011 02:36:22 -0800
- Subject: RE: [ECOS] Ethernet PHY board specific configuration
- References: <4D6B88F9.3000108@mailbox.tu-dresden.de>
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