android_kernel_xiaomi_sm8350/arch/powerpc/platforms
David Gibson 1d3bb99648 Device tree aware EMAC driver
Based on BenH's earlier work, this is a new version of the EMAC driver
for the built-in ethernet found on PowerPC 4xx embedded CPUs.  The
same ASIC is also found in the Axon bridge chip.  This new version is
designed to work in the arch/powerpc tree, using the device tree to
probe the device, rather than the old and ugly arch/ppc OCP layer.

This driver is designed to sit alongside the old driver (that lies in
drivers/net/ibm_emac and this one in drivers/net/ibm_newemac).  The
old driver is left in place to support arch/ppc until arch/ppc itself
reaches its final demise (not too long now, with luck).

This driver still has a number of things that could do with cleaning
up, but I think they can be fixed up after merging.  Specifically:
	- Should be adjusted to properly use the dma mapping API.
Axon needs this.
	- Probe logic needs reworking, in conjuction with the general
probing code for of_platform devices.  The dependencies here between
EMAC, MAL, ZMII etc. make this complicated.  At present, it usually
works, because we initialize and register the sub-drivers before the
EMAC driver itself, and (being in driver code) runs after the devices
themselves have been instantiated from the device tree.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-10 16:51:52 -07:00
..
4xx [POWERPC] Re-organize Kconfig code for 4xx in arch/powerpc 2007-04-24 21:32:00 +10:00
8xx powerpc: 8xx: fix whitespace and indentation 2007-07-17 10:23:02 -07:00
44x Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
52xx [POWERPC] 52xx: sparse fixes 2007-07-10 00:33:01 -05:00
82xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
83xx [POWERPC] Fix mpc834x USB-MPH configuration. 2007-09-28 10:26:35 -05:00
85xx [POWERPC] 8{5,6}xx: Fix build issue with !CONFIG_PCI 2007-09-10 16:00:09 -05:00
86xx [POWERPC] 8{5,6}xx: Fix build issue with !CONFIG_PCI 2007-09-10 16:00:09 -05:00
cell Device tree aware EMAC driver 2007-10-10 16:51:52 -07:00
celleb [POWERPC] scc_sio: Fix link failure 2007-06-07 11:44:40 +10:00
chrp [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
embedded6xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
iseries [POWERPC] iSeries: Fix section mismatch warning in lpevents 2007-07-26 16:12:18 +10:00
maple [POWERPC] Fix Maple platform ISA bus 2007-07-26 16:17:49 +10:00
pasemi [POWERPC] pasemi: Another IOMMU bugfix for 64K PAGE_SIZE 2007-08-25 16:58:26 +10:00
powermac [POWERPC] Fix a compile warning in powermac/feature.c 2007-08-03 19:36:01 +10:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 [POWERPC] cell/PS3: Ignore storage devices that are still being probed 2007-09-11 04:30:37 +10:00
pseries [POWERPC] Fix xics set_affinity code 2007-10-02 11:48:14 +10:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig [POWERPC] Enable GENERIC_ISA_DMA if FSL_ULI1575 to fix compile issue 2007-09-12 10:41:10 -05:00
Kconfig.cputype [POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option. 2007-07-22 21:30:58 +10:00
Makefile [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00