]> git.baikalelectronics.ru Git - kernel.git/commit
ucc_geth: Revive fixed link support
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 16 Jul 2009 21:31:47 +0000 (21:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2009 16:27:24 +0000 (09:27 -0700)
commit0910b0f24bf189ef9748df499365e5912eeb34bb
treef4576bc8b5ee355e1deeec3b2a9877ffa6278ffd
parent3d582c5b1c3a0ad8fd468ccd40098af4256d47ba
ucc_geth: Revive fixed link support

Since commit a384aa161eeaf7b05b74f6c29b93b47f249953d6 ("Rework
ucc_geth driver to use of_mdio infrastructure") the fixed-link
support is broken.

This patch fixes the support by removing !ug_info->phy_node check,
and adds a call to of_phy_connect_fixed_link() if a phy is not attached
to the MAC.

Also, remove an old fixed-link code that we don't use any longer.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ucc_geth.c