linux/arch/mips/alchemy/common
Wolfgang Grandegger 0d5977d652 MIPS: Alchemy: Define eth platform devices in the correct order
Currently, the eth devices are probed in the inverse order, first
au1xxx_eth1_device and then au1xxx_eth0_device. On the GPR board,
this makes trouble:

  # ifconfig|grep HWaddr
  eth0      Link encap:Ethernet  HWaddr 00:50:C2:0C:30:01
  eth1      Link encap:Ethernet  HWaddr 66:22:01:80:38:10

A bogous ethernet hwaddr is assigned to the first device and
au1xxx_eth0_device is mapped to eth1, which even does not work
properly. With this patch, the problems are gone:

  # ifconfig|grep HWaddr
  eth0      Link encap:Ethernet  HWaddr 66:22:11:32:38:10
  eth1      Link encap:Ethernet  HWaddr 66:22:11:32:38:11

Signed-off-by: Wolfgang Grandegger <wg@denx.de>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1473/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-07-26 19:08:19 +01:00
..
clocks.c MIPS: Alchemy: Remove time_lock. 2010-02-27 12:53:36 +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: Alchemy: get rid of common/reset.c 2010-02-27 12:53:04 +01:00
pci.c MIPS: Alchemy: rename directory 2008-10-11 16:18:50 +01:00
platform.c MIPS: Alchemy: Define eth platform devices in the correct order 2010-07-26 19:08:19 +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