diff options
author | Vipin Kumar <vipin.kumar@st.com> | 2012-03-26 00:09:56 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-04-04 10:47:21 -0500 |
commit | 13edd1706c56371dc6a67f7bef874f6d8b7af8eb (patch) | |
tree | 47d3dd15ce60a8bfc0ec7b6318f9764bcc6917eb /common | |
parent | aa51005c3f7e517164fa000d68672041f6c4191f (diff) |
net/designware: Try configuring phy on each dw_eth_init
Phy autonegotiation works only when the ethernet cable is plugged in.
Since the phy was configured only at the init time, a plugged in cable
was necessary to initialize the phy properly.
This patch keeps a flag to check if the phy initialization has
succeeded, and calls configure_phy routine at every init if this flag
reports otherwise.
Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions