ucc_geth: migrate ucc_geth to phylib
authorKim Phillips <kim.phillips@freescale.com>
Fri, 13 Apr 2007 06:26:03 +0000 (01:26 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 15:01:04 +0000 (11:01 -0400)
commit728de4c927a3544b6d3da331b634035d4c75ca17
tree5f05e0b318de9c1d517bd7bbca5964249c7cc885
parenta999589ccaae16472531e0616f23826ad097aa40
ucc_geth: migrate ucc_geth to phylib

migrate ucc_geth to use the common phylib code.

There are several side effects from doing this:

o deprecate 'interface' property specification present
  in some old device tree source files in
  favour of a split 'max-speed' and 'interface-type'
  description to appropriately match definitions
  in include/linux/phy.h.  Note that 'interface' property
  is still honoured if max-speed or interface-type
  are not present (backward compatible).
o compile-time CONFIG_UGETH_HAS_GIGA is eliminated
  in favour of probe time speed derivation logic.
o adjust_link streamlined to only operate on maccfg2
  and upsmr.r10m, instead of reapplying static initial
  values related to the interface-type.
o Addition of UEC MDIO of_platform driver requires
  platform code add 'mdio' type to id list
  prior to calling of_platform_bus_probe (separate patch).
o ucc_struct_init introduced to reduce ucc_geth_startup
  complexity.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ucc_geth.c
drivers/net/ucc_geth.h
drivers/net/ucc_geth_mii.c [new file with mode: 0644]
drivers/net/ucc_geth_mii.h [new file with mode: 0644]
drivers/net/ucc_geth_phy.c [deleted file]
drivers/net/ucc_geth_phy.h [deleted file]
include/linux/fsl_devices.h