On Fri, Oct 30, 2015 at 1:26 PM, Sowmini Varadhan
wrote:
> 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
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 w
On Fri, Oct 30, 2015 at 1:34 AM, Sowmini Varadhan
wrote:
>
>
> This is the i40e equivalent of commit c762dff24c06 ("ixgbe: Look up MAC
> address in Open Firmware or IDPROM").
>
> As with that fix, attempt to look up the MAC address in Open Firmware
> on systems that uspport it, and use IDPROM on S
This is the i40e equivalent of commit c762dff24c06 ("ixgbe: Look up MAC
address in Open Firmware or IDPROM").
As with that fix, attempt to look up the MAC address in Open Firmware
on systems that uspport it, and use IDPROM on SPARC if no OF address
is found.
Reviewed-by: Martin K. Petersen
Sig
4 matches
Mail list logo