From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sowmini Varadhan Date: Fri, 30 Oct 2015 07:26:37 -0400 Subject: [Intel-wired-lan] [PATCH net] i40e: Look up MAC address in Open Firmware or IDPROM In-Reply-To: References: <20151029233430.GB11420@oracle.com> Message-ID: <20151030112637.GB9312@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On (10/30/15 02:14), Andy Shevchenko wrote: > > Does the following has no stubs? > > > + struct i40e_pf *pf = hw->back; > > + struct device_node *dp = pci_device_to_OF_node(pf->pdev); > > + const unsigned char *addr; > > + > > + addr = of_get_mac_address(dp); > > ^^^ I was not able to find any. I'm fixing up the rest and respinning V2 as a separate thread. Thanks --Sowmini