From: Shawn Guo Date: Tue, 5 Jul 2011 08:42:09 +0000 (+0800) Subject: net: ibm_newemac: convert it to use of_get_phy_mode X-Git-Tag: v3.1-rc1~125^2^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4157ef1b8779b34581ee8b9dc8f7f95188008eca;p=pandora-kernel.git 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 Cc: David S. Miller Cc: Grant Likely Acked-by: Grant Likely Acked-by: David Miller --- Reading git-diff-tree failed