linux-sg2042/drivers/net/ibm_newemac
Shawn Guo 4157ef1b87 net: ibm_newemac: convert it to use of_get_phy_mode
The patch extends 'enum phy_interface_t' and of_get_phy_mode a little
bit with PHY_INTERFACE_MODE_NA and PHY_INTERFACE_MODE_SMII added,
and then converts ibm_newemac net driver to use of_get_phy_mode
getting phy mode from device tree.

It also resolves the namespace conflict on phy_read/write between
common mdiobus interface and ibm_newemac private one.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David Miller <davem@davemloft.net>
2011-07-27 09:31:02 +08:00
..
Kconfig Merge commit 'origin' 2008-10-15 11:31:54 +11:00
Makefile
core.c net: ibm_newemac: convert it to use of_get_phy_mode 2011-07-27 09:31:02 +08:00
core.h drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
debug.c Input: sysrq - drop tty argument from sysrq ops handlers 2010-08-19 22:07:06 -07:00
debug.h of: Always use 'struct device.of_node' to get device node pointer. 2010-05-18 16:10:44 -06:00
emac.h net: ibm_newemac: convert it to use of_get_phy_mode 2011-07-27 09:31:02 +08:00
mal.c dt/net: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
mal.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
phy.c net: ibm_newemac: convert it to use of_get_phy_mode 2011-07-27 09:31:02 +08:00
phy.h ibm_newemac: Add support for GPCS, SGMII and M88E1112 PHY 2008-10-02 13:06:42 -04:00
rgmii.c dt/net: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
rgmii.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
tah.c Fix common misspellings 2011-03-31 11:26:23 -03:00
tah.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
zmii.c dt/net: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
zmii.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00