]> git.sur5r.net Git - u-boot/commit
net: Provide a function to get the current MAC address
authorJoe Hershberger <joe.hershberger@ni.com>
Sun, 22 Mar 2015 22:09:00 +0000 (17:09 -0500)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:10 +0000 (11:11 -0600)
commit8b2c9a7157c3c737b3bdf640796509eef0a58c52
treef50951a973cf76471e0199bb01b5d69b245c88a6
parent0eb25b619699270a8af95c2f76791fd6c4b52972
net: Provide a function to get the current MAC address

The current implementation exposes the eth_device struct to code that
needs to access the MAC address.  Add a wrapper function for this to
abstract away the pointer for this operation.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/mips/mach-au1x00/au1x00_eth.c
arch/powerpc/cpu/mpc8260/ether_fcc.c
arch/powerpc/cpu/mpc85xx/ether_fcc.c
arch/powerpc/cpu/mpc8xx/scc.c
include/net.h
net/net.c