]> git.baikalelectronics.ru Git - kernel.git/commit
ethoc: Clean up PHY probing
authorJonas Bonn <jonas@southpole.se>
Fri, 11 Jun 2010 02:47:37 +0000 (02:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2010 20:28:35 +0000 (13:28 -0700)
commit21ac8274bd971a0331881f31e0f9139276fdd98f
tree6a88fc51ea69bb8a9a7f0da22092f99204108e77
parent74aa3585b3aea3c4ef0416020700c4c16dc78e7d
ethoc: Clean up PHY probing

- No need to iterate over all possible addresses on bus
- Use helper function phy_find_first
- Use phy_connect_direct as we already have the relevant structure

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethoc.c