Re: configure the mac address of an eth device

2020-06-02 Thread Sascha Hauer
On Tue, May 26, 2020 at 05:54:53PM +0200, Giorgio Dal Molin wrote: > Hi Sascha, > > thank you for your suggestion about the MAC, the code works now as expected. > > Just another quick question: is there a function like > of_eth_register_ethaddr() > also for a 'serial-number' value ? > > I also

Re: configure the mac address of an eth device

2020-05-26 Thread Giorgio Dal Molin
Hi Sascha, thank you for your suggestion about the MAC, the code works now as expected. Just another quick question: is there a function like of_eth_register_ethaddr() also for a 'serial-number' value ? I also have a 'serial number' value from the eeprom and I would like to pass to the kernel.

Re: configure the mac address of an eth device

2020-05-25 Thread Sascha Hauer
Hi Giorgio, On Sun, May 24, 2020 at 01:57:08PM +0200, Giorgio wrote: > Hi, > > I'm working with an arm som with an imx7d soc on it. > The som also has an eeprom with some module specific manufacturer parameters > like two MAC address, for eth0 and eth1, a module description string or a > module

Re: configure the mac address of an eth device

2020-05-24 Thread Ladislav Michl
On Sun, May 24, 2020 at 01:57:08PM +0200, Giorgio wrote: > Hi, > > I'm working with an arm som with an imx7d soc on it. > The som also has an eeprom with some module specific manufacturer parameters > like two MAC address, for eth0 and eth1, a module description string or a > module > serial