linux/arch/powerpc/sysdev
Florian Fainelli c3a07134e6 mv643xx_eth: convert to use the Marvell Orion MDIO driver
This patch converts the Marvell MV643XX ethernet driver to use the
Marvell Orion MDIO driver. As a result, PowerPC and ARM platforms
registering the Marvell MV643XX ethernet driver are also updated to
register a Marvell Orion MDIO driver. This driver voluntarily overlaps
with the Marvell Ethernet shared registers because it will use a subset
of this shared register (shared_base + 0x4 to shared_base + 0x84). The
Ethernet driver is also updated to look up for a PHY device using the
Orion MDIO bus driver.

For ARM and PowerPC we register a single instance of the "mvmdio" driver
in the system like it used to be done with the use of the "shared_smi"
platform_data cookie on ARM.

Note that it is safe to register the mvmdio driver only for the "ge00"
instance of the driver because this "ge00" interface is guaranteed to
always be explicitely registered by consumers of
arch/arm/plat-orion/common.c and other instances (ge01, ge10 and ge11)
were all pointing their shared_smi to ge00. For PowerPC the in-tree
Device Tree Source files mention only one MV643XX ethernet MAC instance
so the MDIO bus driver is registered only when id == 0.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-22 10:25:15 -04:00
..
ge
qe_lib powerpc: Fix typos in Freescale copyright claims 2012-11-15 13:00:58 +11:00
xics powerpc: fix ics_rtas_init and start_secondary section mismatch 2013-02-08 14:05:48 +11:00
6xx-suspend.S
axonram.c
cpm1.c
cpm2_pic.c
cpm2_pic.h
cpm2.c
cpm_common.c
dart_iommu.c
dart.h
dcr-low.S
dcr.c
ehv_pic.c
fsl_85xx_cache_ctlr.h
fsl_85xx_cache_sram.c
fsl_85xx_l2ctlr.c powerpc/85xx: l2sram - Add compatible string for BSC9131 platform 2013-02-19 11:01:54 -06:00
fsl_gtm.c powerpc: Fix typos in Freescale copyright claims 2012-11-15 13:00:58 +11:00
fsl_ifc.c powerpc/fsl: ifc: sparse fixes 2013-02-12 11:05:21 -06:00
fsl_lbc.c powerpc/fsl: lbc: sparse fixes 2013-02-12 11:05:18 -06:00
fsl_mpic_err.c
fsl_msi.c powerpc/fsl: msi: sparse fixes 2013-02-12 11:05:23 -06:00
fsl_msi.h
fsl_pci.c powerpc/fsl_pci: Store the pci ctlr device ptr in the pci ctlr struct 2013-02-15 14:10:32 -06:00
fsl_pci.h powerpc/fsl_pci: Store the pci ctlr device ptr in the pci ctlr struct 2013-02-15 14:10:32 -06:00
fsl_pmc.c
fsl_rio.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
fsl_rio.h
fsl_rmu.c
fsl_soc.c powerpc/fsl: fsl_soc: sparse fixes 2013-02-12 11:05:20 -06:00
fsl_soc.h
grackle.c
i8259.c
indirect_pci.c
ipic.c
ipic.h
Kconfig
Makefile Merge remote-tracking branch 'agust/next' into next 2013-02-20 11:39:05 +11:00
micropatch.c
mmio_nvram.c
mpc5xxx_clocks.c powerpc/mpc5xxx: fix sparse warning for non static symbol 2013-02-05 07:40:43 +00:00
mpc8xx_pic.c
mpc8xx_pic.h
mpic_msgr.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
mpic_msi.c
mpic_pasemi_msi.c
mpic_u3msi.c
mpic.c powerpc/mpic: allow coreint to be determined by MPIC version 2013-02-15 14:13:22 -06:00
mpic.h
msi_bitmap.c
mv64x60_dev.c mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
mv64x60_pci.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
mv64x60_pic.c
mv64x60_udbg.c
mv64x60.h
of_rtc.c
pmi.c powerpc/sysdev: Use module_platform_driver macro 2012-11-15 13:00:05 +11:00
ppc4xx_cpm.c
ppc4xx_gpio.c
ppc4xx_msi.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
ppc4xx_ocm.c powerpc/44x: Support OCM(On Chip Memory) for APM821xx SoC and Bluestone board 2013-01-10 15:08:37 +11:00
ppc4xx_pci.c
ppc4xx_pci.h
ppc4xx_soc.c
rtc_cmos_setup.c
scom.c powerpc: Fix fallout from device_node->name constification 2012-11-29 17:27:19 +00:00
simple_gpio.c
simple_gpio.h
tsi108_dev.c
tsi108_pci.c
uic.c
xilinx_intc.c
xilinx_pci.c