[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120228.141334.569125676685228205.davem@davemloft.net>
Date: Tue, 28 Feb 2012 14:13:34 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: stigge@...com.de
Cc: baruch@...s.co.il, alexander.h.duyck@...el.com,
ian.campbell@...rix.com, netdev@...r.kernel.org,
eilong@...adcom.com, kevin.wells@....com, w.sang@...gutronix.de,
jeffrey.t.kirsher@...el.com, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2] ARM: LPC32xx: Ethernet driver
From: Roland Stigge <stigge@...com.de>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists