linux/arch/mips/momentum/ocelot_c
Dale Farnsworth 84dd619e4d mv643xx_eth: Place explicit port number in mv643xx_eth_platform_data
We were using the platform_device.id field to identify which ethernet
port is used for mv643xx_eth device.  This is not generally correct.
It will be incorrect, for example, if a hardware platform uses a single
port but not the first port.  Here, we add an explicit port_number field
to struct mv643xx_eth_platform_data.

This makes the mv643xx_eth_platform_data structure required, but that
isn't an issue since all users currently provide it already.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-03-06 06:14:54 -05:00
..
cpci-irq.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
dbg_io.c [MIPS] Remove superfluous "ifdef CONFIG_KGDB". 2007-02-06 16:53:17 +00:00
irq.c [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
Makefile [MIPS] Ocelot C: Fix MAC address detection after platform_device conversion. 2006-11-06 20:55:37 +00:00
ocelot_c_fpga.h [MIPS] Ocelot C: Fix large number of warnings. 2006-11-06 20:55:35 +00:00
platform.c mv643xx_eth: Place explicit port number in mv643xx_eth_platform_data 2007-03-06 06:14:54 -05:00
prom.c [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
reset.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup.c [MIPS] Ocelot C: Fix MAC address detection after platform_device conversion. 2006-11-06 20:55:37 +00:00
uart-irq.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00