android_kernel_xiaomi_sm8350/arch/ppc/syslib
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
..
btext.c
cpc700_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
cpc700.h [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
cpc710.h
cpm2_common.c
cpm2_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
cpm2_pic.h [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
gen550_dbg.c
gen550_kgdb.c
gen550.h
gt64260_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
harrier.c
hawk_common.c
i8259.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
ibm44x_common.c
ibm44x_common.h
ibm440gp_common.c
ibm440gp_common.h
ibm440gx_common.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ibm440gx_common.h
ibm440sp_common.c
ibm440sp_common.h
ibm_ocp.c
ipic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ipic.h
m8xx_setup.c [POWERPC] PPC: Use ARRAY_SIZE macro when appropriate 2007-02-08 16:08:25 +11:00
m8xx_wdt.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
m8xx_wdt.h
m82xx_pci.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
m82xx_pci.h
m8260_pci_erratum9.c [POWERPC] ppc: use syslog macro for the printk log level 2007-02-08 15:29:22 +11:00
m8260_setup.c
Makefile [POWERPC] ppc: Add support for AMCC Taishan 440GX eval board 2007-02-13 15:35:52 +11:00
mpc8xx_devices.c [POWERPC] 8xx: Off-by-one fixes to SCC parameter RAM definitions 2006-12-04 20:39:40 +11:00
mpc8xx_sys.c
mpc10x_common.c
mpc52xx_devices.c
mpc52xx_pci.c
mpc52xx_pci.h
mpc52xx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
mpc52xx_setup.c
mpc52xx_sys.c
mpc83xx_devices.c
mpc83xx_sys.c
mpc85xx_devices.c
mpc85xx_sys.c
mv64x60_dbg.c
mv64x60_win.c
mv64x60.c mv643xx_eth: Place explicit port number in mv643xx_eth_platform_data 2007-03-06 06:14:54 -05:00
mv64360_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ocp.c
open_pic2.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
open_pic_defs.h
open_pic.c
pci_auto.c
ppc4xx_dma.c
ppc4xx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ppc4xx_setup.c
ppc4xx_sgdma.c
ppc8xx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ppc8xx_pic.h
ppc83xx_pci.h
ppc83xx_setup.c
ppc83xx_setup.h
ppc85xx_common.c
ppc85xx_common.h
ppc85xx_rio.c [POWERPC] Add "is_power_of_2" checking to log2.h. 2007-02-07 14:03:19 +11:00
ppc85xx_rio.h
ppc85xx_setup.c
ppc85xx_setup.h
ppc403_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ppc405_pci.c
ppc440spe_pcie.c
ppc440spe_pcie.h
ppc_sys.c
pq2_devices.c
pq2_sys.c
prep_nvram.c
qspan_pci.c
todc_time.c
xilinx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00