This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Default eth hardware address is an eCos bug


Paul Sheer wrote:
> ./devs/eth/arm/flexanet/current/cdl/flexanet_eth_drivers.cdl
> contains a default hardware address as follows:
>         default_value {"{0x11, 0x12, 0x13, 0x14, 0x15, 0x16}"}

IMNSHO, having a default hardware address at all is a bug. If you don't
have a proper hardware address for an interface, you shouldn't be able
to bring it up.

> The hardware address should be:
>         default_value {"{0x0, 0x12, 0x13, 0x14, 0x15, 0x16}"}
> since most (all?) ethernet cards have the first byte zero.

There are quite a few starting with 08:.. these days. But at least the
LSB of the first Byte should be 0 - otherwise, it's a
multicast/broadcast address.

Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]