Mike Frysinger f0ece9e934 net: designware: fix uninitialized phy_addr usage
When CONFIG_DW_SEARCH_PHY is disabled, the local phy_addr variable
never gets initialized which causes random behavior at runtime and a
gcc warning.  So set it by default to the stored phy address.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Vipin Kumar <vipin.kumar@st.com>

Fix commit message.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-07-25 22:20:10 +02:00
..
2011-05-19 22:22:44 +02:00
2008-05-21 00:14:08 +02:00
2011-01-09 18:06:50 +01:00
2011-01-09 18:06:50 +01:00
2011-01-09 18:06:50 +01:00
2011-06-21 22:26:22 +02:00
2010-07-12 00:14:29 -07:00
2010-01-31 22:34:33 -08:00
2011-04-20 13:44:46 -05:00
2009-02-22 01:19:52 +01:00
2011-01-09 18:06:50 +01:00
2011-04-20 13:44:46 -05:00
2010-08-09 11:52:29 -07:00
2010-01-31 22:37:12 -08:00
2010-05-03 14:52:50 -07:00
2011-01-09 18:06:50 +01:00
2011-04-20 15:09:34 -05:00
2011-01-09 18:06:50 +01:00
2009-12-13 21:31:26 -08:00
2011-06-21 22:26:22 +02:00
2008-02-14 09:37:58 +00:00
2011-04-20 15:09:34 -05:00
2011-01-09 18:06:50 +01:00
2011-01-09 18:06:50 +01:00
2010-08-09 11:52:29 -07:00
2010-08-09 11:52:29 -07:00
2008-10-18 21:54:03 +02:00
2011-02-15 21:55:41 +01:00
2008-05-21 00:14:08 +02:00
2011-01-09 18:06:50 +01:00
2011-01-09 18:06:50 +01:00
2008-05-21 00:14:08 +02:00
2011-01-09 18:06:50 +01:00
2009-10-19 10:08:44 -07:00
2010-10-11 23:07:28 -07:00
2008-05-21 00:14:08 +02:00
2011-05-19 22:22:44 +02:00
2011-04-20 13:44:46 -05:00
2008-10-18 21:54:03 +02:00