]> git.karo-electronics.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:30 +0000 (21:47 +0200)
commitd39c43b0b3ce0c89648111342e5343f608cce20c
tree7b7ce2e4c10b560fc40e3887856ac45de40e68e1
parentd4cd15ace8f4a7d96fd77ba1b2781ab58e579451
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