From: Sekhar Nori Date: Wed, 21 Oct 2009 15:48:22 +0000 (+0530) Subject: davinci: DA850/OMAP-L138 EVM: implement autodetect of RMII PHY X-Git-Tag: v2.6.33-rc1~348^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bae105879f2f2404155da6f50b3636193d228a62;p=pandora-kernel.git davinci: DA850/OMAP-L138 EVM: implement autodetect of RMII PHY Implement autodetection of RMII PHY by shifting the decision to use the RMII PHY to da850_evm_ui_expander_setup() from da850_evm_init() earlier. Without this patch, selecting RMII PHY in the UI expander menu will make the MII PHY unusable even though UI board is not connected. The actual configuration and registration of the EMAC device is delayed to device_initcall() so it happens after the UI card detection is complete. A side effect of this patch is the removal of a voilation of Documentation/SubmittingPatches section 2.2 in function da850_evm_init() Signed-off-by: Sekhar Nori Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed