tg3: Delay mdio bus init until fw finishes
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 28 Aug 2009 12:27:50 +0000 (12:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 22:42:27 +0000 (15:42 -0700)
commit0a9140cff22e405fce1747a2e02d41851c36c55a
treedb68a54a136cde1920541e252c0c77f0abeef9e1
parentb3df9a514f3c2020952cff34bc5bc6694a31c00c
tg3: Delay mdio bus init until fw finishes

The device firmware uses the MDIO bus during early setup.  If the driver
modifies the MDIO bus configuration while it is in use by the firmware,
any number of bad things can happen.  This patch delays MDIO setup until
after the firmware posts its magic signature, signifying initialization
is complete.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c