android_kernel_xiaomi_sm8350/arch/powerpc/platforms/chrp
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
..
chrp.h [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
Makefile
nvram.c [POWERPC] chrp: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
pci.c [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
pegasos_eth.c mv643xx_eth: Place explicit port number in mv643xx_eth_platform_data 2007-03-06 06:14:54 -05:00
setup.c [PATCH] arch/powerpc trivial annotations 2007-02-09 09:14:06 -08:00
smp.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
time.c