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

From: David Miller
Date: Tue Feb 28 2012 - 14:18:36 EST


From: Roland Stigge <stigge@xxxxxxxxx>
Date: Tue, 28 Feb 2012 14:08:40 +0100

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

You use a randomized ethernet address which can subsequently be fixed up
by userspace, and we have very specific interfaces to make this very
easy for you. It even sets an attribute which userland can query to see
that the device has a randomized ethernet address rathern than a true
assigned permanent one.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/