diff options
author | Kumar Gala <galak@gate.crashing.org> | 2006-01-12 21:04:23 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-13 21:16:18 +1100 |
commit | 7e78e5e502d4f220d24c6f738f2fdb078ad33607 (patch) | |
tree | fec615c750234e7f46fdda682b5a3412c7c30327 /arch/ppc/syslib/mpc85xx_devices.c | |
parent | 135f0b17a7a146fa65ccd75704eecf77ee19d587 (diff) | |
download | kernel_samsung_smdk4412-7e78e5e502d4f220d24c6f738f2fdb078ad33607.zip kernel_samsung_smdk4412-7e78e5e502d4f220d24c6f738f2fdb078ad33607.tar.gz kernel_samsung_smdk4412-7e78e5e502d4f220d24c6f738f2fdb078ad33607.tar.bz2 |
[PATCH] powerpc: Updated platforms that use gianfar to match driver
The gianfar driver changed how it required MDIO bus and phy id's
to be passed to it. Also, it no longer passes the physical address
of the MDIO bus. Instead we have a proper platform device.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/syslib/mpc85xx_devices.c')
-rw-r--r-- | arch/ppc/syslib/mpc85xx_devices.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/ppc/syslib/mpc85xx_devices.c b/arch/ppc/syslib/mpc85xx_devices.c index 69949d2..00e9b6f 100644 --- a/arch/ppc/syslib/mpc85xx_devices.c +++ b/arch/ppc/syslib/mpc85xx_devices.c @@ -26,7 +26,6 @@ * what CCSRBAR is, will get fixed up by mach_mpc85xx_fixup */ struct gianfar_mdio_data mpc85xx_mdio_pdata = { - .paddr = MPC85xx_MIIM_OFFSET, }; static struct gianfar_platform_data mpc85xx_tsec1_pdata = { @@ -720,7 +719,14 @@ struct platform_device ppc_sys_platform_devices[] = { .name = "fsl-gianfar_mdio", .id = 0, .dev.platform_data = &mpc85xx_mdio_pdata, - .num_resources = 0, + .num_resources = 1, + .resource = (struct resource[]) { + { + .start = 0x24520, + .end = 0x2453f, + .flags = IORESOURCE_MEM, + }, + }, }, }; |