[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <97579B9E-E7C6-4DBE-B1A2-027C2EA7F754@gmail.com>
Date: Thu, 18 Feb 2016 08:53:07 +0100
From: John Holland <jotihojr@...il.com>
To: David Miller <davem@...emloft.net>
Cc: intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
jeffrey.t.kirsher@...el.com
Subject: Re: [Intel-wired-lan] [next] igb: allow setting MAC address on i211 using a device tree blob V4
> On Feb 18, 2016, at 03:29, David Miller <davem@...emloft.net> wrote:
>
> From: John Holland <jotihojr@...il.com>
> Date: Thu, 18 Feb 2016 00:49:17 +0100
>
>> The Intel i211 LOM pcie ethernet controllers' iNVM operates as an OTP
>> and has no externel EEPROM interface [1]. The following allows the
>> driver to pickup the MAC address from a device tree blob when
>> CONFIG_OF
>> has been enabled.
>
> Please use the generic eth_platform_get_mac_address(), or
> alternatively structure your code like the ixgbe and other cases so
> that SPARC and other OF platforms get this support as well.
Don't know what you mean. The PCI path in eth_platform_get_mac_address() didn't return a devicetree node and I can find no instance of of_<function> use in ixgbe.
John
Powered by blists - more mailing lists