summaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/netvsc_drv.c
diff options
context:
space:
mode:
authorTim Harvey2014-03-08 05:59:53 +0100
committerDavid S. Miller2014-03-10 20:40:30 +0100
commit3ee2f8ce1ab8f235bda164295fa0cf39ec1c2400 (patch)
treeabc4e191182dc8dc534a715d37f84dc1a3f11d1f /drivers/net/hyperv/netvsc_drv.c
parentl2tp: fix unused variable warning (diff)
downloadkernel-qcow2-linux-3ee2f8ce1ab8f235bda164295fa0cf39ec1c2400.tar.gz
kernel-qcow2-linux-3ee2f8ce1ab8f235bda164295fa0cf39ec1c2400.tar.xz
kernel-qcow2-linux-3ee2f8ce1ab8f235bda164295fa0cf39ec1c2400.zip
sky2: allow mac to come from dt
The driver reads the mac address from the device registers which would need to have been programmed by the bootloader. This patch adds the ability to pull the mac from devicetree via the pci device dt node. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Cc: netdev@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Changes since v2: - eliminated use of stack tmpaddr per feedback Changes since v1: - simplified based on feedback - fixed formatting Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
0 files changed, 0 insertions, 0 deletions