1
linux/arch/powerpc/sysdev
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
..
qe_lib [POWERPC] QE: Rename ucc_slow_info.us_regs to ucc_slow_info.regs 2007-02-08 17:20:16 -06:00
commproc.c [POWERPC] 8xx: powerpc port of core CPM PIC 2007-02-07 14:03:17 +11:00
cpm2_common.c
cpm2_pic.c [POWERPC] cpm2: CPM2 interrupt controller fix 2007-02-07 14:03:20 +11:00
cpm2_pic.h [POWERPC] cpm2: CPM2 interrupt controller fix 2007-02-07 14:03:20 +11:00
dart_iommu.c [POWERPC] Cell iommu support 2006-12-04 20:39:02 +11:00
dart.h
dcr-low.S [POWERPC] Generic DCR infrastructure 2006-12-04 16:08:25 +11:00
dcr.c [POWERPC] Generic DCR infrastructure 2006-12-04 16:08:25 +11:00
fsl_soc.c [POWERPC] add of_get_mac_address and update fsl_soc.c to use it 2007-02-17 10:21:25 +11:00
fsl_soc.h
grackle.c [POWERPC] Assign all PCI busses on G3 Blue & White 2007-02-07 14:03:22 +11:00
i8259.c
indirect_pci.c
ipic.c [POWERPC] 83xx: Return a point to the struct ipic from ipic_init() 2007-01-26 01:45:32 -06:00
ipic.h
Makefile [POWERPC] Add PMI driver for cell blade 2007-02-16 14:00:19 +11:00
micropatch.c [POWERPC] 8xx: powerpc port of core CPM PIC 2007-02-07 14:03:17 +11:00
mmio_nvram.c [POWERPC] Fix cell's mmio nvram to properly parse device tree 2007-01-22 21:27:35 +11:00
mpc8xx_pic.c [POWERPC] 8xx: powerpc port of core CPM PIC 2007-02-07 14:03:17 +11:00
mpc8xx_pic.h [POWERPC] 8xx: powerpc port of core CPM PIC 2007-02-07 14:03:17 +11:00
mpic.c [POWERPC] mpic: set IPIs to be per-CPU 2007-02-16 14:00:19 +11:00
pmi.c [POWERPC] Add PMI driver for cell blade 2007-02-16 14:00:19 +11:00
rom.c [POWERPC] powerpc: fix build error in rom.c 2006-12-08 15:55:55 +11:00
tsi108_dev.c
tsi108_pci.c [POWERPC] Make pci_read_irq_line the default on mpc7448hpc2 board 2006-12-04 20:39:27 +11:00