2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/arch/powerpc
Timur Tabi 29cfe6f4fb [POWERPC] add of_get_mac_address and update fsl_soc.c to use it
Add function of_get_mac_address(), which obtains the best MAC address to use
from the device tree by checking various properties in order.  The order is:
'mac-address', then 'local-mac-address', then 'address'.  It skips properties
that contain invalid MAC addresses, which were probably not initialized
by U-Boot.

Update gfar_of_init() and fs_enet_of_init() in fsl_soc.c to call
of_get_mac_address().

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-02-17 10:21:25 +11:00
..
boot [POWERPC] Delete boot-cpu property from all DTS files 2007-02-16 14:00:20 +11:00
configs [POWERPC] Add PMI driver for cell blade 2007-02-16 14:00:19 +11:00
kernel [POWERPC] add of_get_mac_address and update fsl_soc.c to use it 2007-02-17 10:21:25 +11:00
lib [POWERPC] Use ARRAY_SIZE macro when appropriate 2007-02-08 16:08:18 +11:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Fix bug with early ioremap and 64k pages 2007-02-16 14:00:20 +11:00
oprofile [POWERPC] cell: pm_rtas_activat_signals routine cleanup 2007-02-13 22:03:07 +01:00
platforms [POWERPC] Fix cut and paste breakage in arch/powerpc/platforms/pseries/pseries.h 2007-02-16 14:00:20 +11:00
sysdev [POWERPC] add of_get_mac_address and update fsl_soc.c to use it 2007-02-17 10:21:25 +11:00
xmon [POWERPC] spufs: move prio to spu_context 2007-02-13 21:55:40 +01:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Add PMI driver for cell blade 2007-02-16 14:00:19 +11:00
Kconfig.debug [POWERPC] pasemi: UART udbg support 2007-02-07 14:03:22 +11:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00