This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: edb7xxx MAC address
- From: Cristian VLASIN <cris at astechnix dot cluj dot astral dot ro>
- To: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 5 Feb 2002 20:05:02 +0200
- Subject: Re: [ECOS] edb7xxx MAC address
- References: <200201301903.g0UJ3kC28745@mail.redhat.com> <200202041704.g14H4YC18365@mail.redhat.com> <3C5FF246.449645FA@redhat.com>
On Tuesday 05 February 2002 04:55 pm, you wrote:
> Cristian VLASIN wrote:
> > Sorry for this late reply. I made the changes that you suggested
> > and now it works fine. Thanks a lot!
> >
> > I also noticed something: the function "show_bootp", called in
> > "init_all_network_interfaces" to display the network setup, sais that the
> > harware MAC address is FF:FF:FF:FF:FF:FF, even if I changed it to
> > 08:88:12:34:56:78. I am sure that the change occured because I saw it on
> > my computer with "arp". Maybe this should be modified too in the main
> > resources to notice users that the MAC address has been set to the
> > requested value.
>
> Looking at the code, I'm having difficulty explaining why it _wouldn't_ be
> the correct address if your interface is working correctly. Can you do me a
> favour and set a breakpoint in cs8900a_init, specifically around line 232
> where the ESA gets determined? Does the call to eth_drv_init
> (sc->funs->eth_drv->init near the bottom) have a sensible value of
> cpd->esa?
>
> Jifl
I made some tests and I saw that using DHCP the MAC address is displayed
correctly. The problem appears only when I am not using DHCP.
For me it is OK to use DHCP. Thanks for your support!
Cris