android_kernel_xiaomi_sm8350/arch/mips/alchemy/common
Manuel Lauss f66736532a MIPS: au1000_eth: Get ethernet address from platform_data
au1000_eth uses firmware calls to get a valid MAC address, and changes
it depending on platform device id.  This patch moves this logic out of
the driver into the platform device registration part, where boards with
supported chips can use whatever firmware interface they need; the default
implementation maintains compatibility with existing, YAMON-based firmware.

Tested-by: Wolfgang Grandegger <wg@denx.de>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Cc: netdev@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1481/
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-08-05 13:26:09 +01:00
..
clocks.c MIPS: Alchemy: Remove dead CONFIG_SOC_AU1000_FREQUENCY 2010-08-05 13:26:00 +01:00
dbdma.c MIPS: Alchemy: add sysdev for DBDMA PM. 2010-05-21 21:31:15 +01:00
dma.c MIPS: Alchemy: Stop IRQ name sharing 2010-02-27 12:52:53 +01:00
gpiolib-au1000.c MIPS: Alchemy: use runtime cpu detection in GPIO code. 2010-02-27 12:53:02 +01:00
irq.c MIPS: Alchemy: add sysdev for IRQ PM. 2010-05-21 21:31:15 +01:00
Makefile MIPS: Move Alchemy Makefile parts to their own Platform file. 2010-08-05 13:25:46 +01:00
pci.c
platform.c MIPS: au1000_eth: Get ethernet address from platform_data 2010-08-05 13:26:09 +01:00
power.c MIPS: Alchemy: sleepcode without compile-time cputype dependencies 2010-07-05 17:17:30 +01:00
prom.c MIPS: Alchemy: Use strlcat() for the command line arguments 2010-02-27 12:53:21 +01:00
setup.c MIPS: Alchemy: use 36bit addresses for PCMCIA resources. 2010-02-27 12:53:43 +01:00
sleeper.S MIPS: Alchemy: sleepcode without compile-time cputype dependencies 2010-07-05 17:17:30 +01:00
time.c MIPS: Alchemy: Stop IRQ name sharing 2010-02-27 12:52:53 +01:00