[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101021.031713.229751156.davem@davemloft.net>
Date: Thu, 21 Oct 2010 03:17:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bernard@...gestprime.net
Cc: steve.glendinning@...c.com, netdev@...r.kernel.org,
linux-omap@...r.kernel.org
Subject: Re: [PATCH] smsc95xx: generate random MAC address once, not every
ifup
From: Bernard Blackham <bernard@...gestprime.net>
Date: Tue, 19 Oct 2010 10:16:39 +1100
> The smsc95xx driver currently generates a new random MAC address
> every time the interface is brought up. This makes it impossible to
> override using the standard `ifconfig hw ether` approach.
>
> Past patches tried to make the MAC address a module parameter or
> base it off the die ID, but it seems to me much simpler (and
> hopefully less controversial) to stick with the current random
> generation scheme, but allow the user to change the address.
>
> This patch does exactly that - it moves the random address
> generation from smsc95xx_reset() into smsc95xx_bind(), so that it is
> done once on module load, not on every ifup. The user can then
> override this using the standard mechanisms.
>
> Applies against 2.6.35 and linux-2.6 head.
>
> Signed-off-by: Bernard Blackham <b-omap@...gestprime.net>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists