ARM: don't probe PHY address for LaCie boards
authorSimon Guinot <simon.guinot@sequanux.org>
Tue, 5 Jun 2012 13:16:00 +0000 (13:16 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:33 +0000 (14:07 +0200)
commitc59c085731571d8e04344f815fd3a25bb0f69ae1
tree93a0d9c89b359b8ab2451c122488274f3b5bea0d
parentd92151b9259bc009a4dd8ed1683770520f3b10ac
ARM: don't probe PHY address for LaCie boards

The command miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr) always
returns 8 for the PHY address. It is the reset value for the PHY
Address Register. Obviously, this default value could be incorrect.
Moreover, as the PHY address is well known, there is no need to
auto-detect it.

Now, the PHY address must given as a parameter to the PHY initialization
function. Additionally this patch also fixes some aesthetic issues.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
board/LaCie/common/common.c
board/LaCie/common/common.h
board/LaCie/edminiv2/edminiv2.c
board/LaCie/net2big_v2/net2big_v2.c
board/LaCie/netspace_v2/netspace_v2.c