[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150805203342.GA26748@electric-eye.fr.zoreil.com>
Date: Wed, 5 Aug 2015 22:33:42 +0200
From: Francois Romieu <romieu@...zoreil.com>
To: Liviu Dudau <Liviu.Dudau@....com>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
Mirko Lindner <mlindner@...vell.com>,
"ryan.harkin@...aro.org" <ryan.harkin@...aro.org>,
netdev <netdev@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sky2: Add module parameter for passing the MAC address
Liviu Dudau <Liviu.Dudau@....com> :
> On Wed, Aug 05, 2015 at 05:40:57PM +0100, Stephen Hemminger wrote:
[...]
> > Yes, I can see that this can be a real problem, and other drivers
> > solve the problem. The standard method is to assign a random mac address
> > (and then let scripts overwrite) rather than introducing module parameter.
> > Module parameters are discouraged because they are device specific.
> >
>
> I agree. However, in my case, the boards people have assigned MAC addresses
> to the chip, they just didn't built the board in such a way as to allow one
> to store that MAC address in a permanent way :( And no, I can't use the DT
> because the chip is actually on the PCIe bus.
>
> Even with the generation of a random address, it still needs to be copied
> into the device, so I would guess that a version of the patch I've sent is
> still relevant?
Assuming a random address is generated, could you elaborate what is needed
that sky2_set_mac_address fails to provide ?
--
Ueimor
--
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