This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: RedBoot "set MAC address" API?
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 5 Nov 2006 19:25:35 +0000 (UTC)
- Subject: [ECOS] Re: RedBoot "set MAC address" API?
- References: <eil3a3$m65$1@sea.gmane.org>
On 2006-11-05, Grant Edwards <grante@visi.com> wrote:
> How do I call the ethernet driver's control function to set the
> MAC address?
This seems to work:
__local_enet_sc->funs->control(__local_enet_sc,ETH_DRV_SET_MAC_ADDRESS,mac_address,sizeof mac_address);
But, it only works after the network stuff has been initialized
once.
How is the MAC address supposed to be set initially?
--
Grant Edwards grante Yow! .. bleakness....
at desolation.... plastic
visi.com forks...
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss