net, thunder, bgx: Add support to get MAC address from ACPI.
authorDavid Daney <david.daney@cavium.com>
Tue, 11 Aug 2015 00:58:37 +0000 (17:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Aug 2015 18:47:57 +0000 (11:47 -0700)
commit46b903a01c053d0c94975ea7a6819618f121d3d6
tree4583ce75dfd7b64e32a0ba68ec3f237e34801b43
parentde387e1156c76b273529f1803c6bd87b61eac2c5
net, thunder, bgx: Add support to get MAC address from ACPI.

Currently there is no way to get the MAC address in a firmware
independent manner, so set the MAC address of the device directly from
the ACPI tables.

The binding agrees with the proposed standard here:

http://www.uefi.org/sites/default/files/resources/nic-request-v2.pdf

Based on code from: Narinder Dhillon <ndhillon@cavium.com>
                    Tomasz Nowicki <tomasz.nowicki@linaro.org>
                    Robert Richter <rrichter@cavium.com>

Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c