Thread (7 messages) flat view 7 messages, 5 authors, 2012-02-28

Re: [PATCH v2] ARM: LPC32xx: Ethernet driver

From: Roland Stigge <hidden>
Date: 2012-02-28 13:32:53
Also in: linux-arm-kernel, lkml

Hi,

On 02/28/2012 02:11 PM, David Laight wrote:
quoted
Thanks for the note! I actually found out that in many cases, the
bootloader already initialized the hardware with the target 
MAC address so we can use this one.

For the case that it _isn't_ initialized already, is it the right
thing
quoted
to use a hard coded default MAC address to be replaced by the final
one
quoted
in userspace? (I found such examples in some current micrel/ and amd/
drivers.)

Using a fixed address is a very bad idea ...
Yes, that's why we previously had a cmdline param for it (but removed it
upon request from the netdev maintainer).

So if the hardware defaults to 00:00:00:00:00:00, what is the
"consistent policy we want to enforce in all drivers"?

A link or hint would be sufficient.

Thanks in advance,

Roland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help